From d3e24c21dcf3f76f00a00e7e0a8c59a4575e0e7b Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Sat, 5 May 2012 20:54:19 -0700 Subject: TBAA, separate JRuntime and ConstJObject. This change can eliminate redundant virtual table load. Also, fix comment. Change-Id: I9deb9979eadce6ad728b6582cef80001e3a7039e --- src/compiler_llvm/jni_compiler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler_llvm/jni_compiler.cc') 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; -- cgit v1.2.3-59-g8ed1b