diff options
| author | 2012-05-05 20:54:19 -0700 | |
|---|---|---|
| committer | 2012-05-09 10:02:42 -0700 | |
| commit | d3e24c21dcf3f76f00a00e7e0a8c59a4575e0e7b (patch) | |
| tree | fed17bf043fbddeed8257f2bd106fbe4b055c5f4 /src/compiler_llvm/jni_compiler.cc | |
| parent | e6a7adc91696930dae60c3d0eac46473a74d9941 (diff) | |
TBAA, separate JRuntime and ConstJObject.
This change can eliminate redundant virtual table load.
Also, fix comment.
Change-Id: I9deb9979eadce6ad728b6582cef80001e3a7039e
Diffstat (limited to 'src/compiler_llvm/jni_compiler.cc')
| -rw-r--r-- | src/compiler_llvm/jni_compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc index 1fa0ce76b8..357d50d0c3 100644 --- a/src/compiler_llvm/jni_compiler.cc +++ b/src/compiler_llvm/jni_compiler.cc @@ -90,7 +90,7 @@ CompiledMethod* JniCompiler::Compile() { irb_.LoadFromObjectOffset(method_object_addr, Method::DeclaringClassOffset().Int32Value(), irb_.getJObjectTy(), - kTBAAJRuntime); + kTBAAConstJObject); } // Actual argument (ignore method and this object) arg_begin = arg_iter; |