TBAA, separate RuntimeInfo and JRuntime.
Change-Id: Ia540883349e2699503d7eeb1d4b602beeb74510f
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc
index 4994e69..1fa0ce7 100644
--- a/src/compiler_llvm/jni_compiler.cc
+++ b/src/compiler_llvm/jni_compiler.cc
@@ -90,7 +90,7 @@
irb_.LoadFromObjectOffset(method_object_addr,
Method::DeclaringClassOffset().Int32Value(),
irb_.getJObjectTy(),
- kTBAARuntimeInfo);
+ kTBAAJRuntime);
}
// Actual argument (ignore method and this object)
arg_begin = arg_iter;
@@ -143,7 +143,7 @@
irb_.LoadFromObjectOffset(thread_object_addr,
Thread::JniEnvOffset().Int32Value(),
irb_.getJObjectTy(),
- kTBAARuntimeInfo);
+ kTBAAJRuntime);
// Set thread state to kNative
irb_.StoreToObjectOffset(thread_object_addr,
@@ -156,7 +156,7 @@
irb_.LoadFromObjectOffset(method_object_addr,
Method::NativeMethodOffset().Int32Value(),
GetFunctionType(method_idx_, is_static, true)->getPointerTo(),
- kTBAARuntimeInfo);
+ kTBAAJRuntime);
// Load actual parameters
std::vector<llvm::Value*> args;