summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-03-19 02:58:02 -0700
committer Shih-wei Liao <sliao@google.com> 2012-03-26 21:04:42 -0700
commit31a9933bfe68ef1241c74c6586b3bc259a0244ea (patch)
tree4eedffbb35e7840ee8e3976b216d0758c4655c39 /src/compiler_llvm/compiler_llvm.cc
parentf7015fd55a8dc969ac2440ffc829a6b4d942fb5a (diff)
Fix GEP & refactor compiler_llvm::JniCompiler.
Three major changes: o Use member offset instead of hard coded constant. We use GetElementPtr before, but it needs the ordinal number of field. If we reorder the members, we need to correct all the constants. o Remove the type parameter in the StoreToObjectOffset(). LLVM IR is strongly typed, we can get the type by the new_value. o Add more comments. (cherry picked from commit de9069a7768bd60bcdbcfb37d9b245f255ba8570) Change-Id: I833c0be3177f7b7e5a59ddf6d9d6c06ee1e95ce6
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions