summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/jni_compiler.cc
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-05-05 19:57:06 -0700
committer Shih-wei Liao <sliao@google.com> 2012-05-06 15:01:16 -0700
commit8ca100552be43ed11351a27497e3581abb055311 (patch)
tree9cb200eb83a1ac723439ab39a3d44e576af1fa59 /src/compiler_llvm/jni_compiler.cc
parentaba61123f9c10a19ab0c14f9833622d8e4788f96 (diff)
TBAA, separate RuntimeInfo and JRuntime.
Change-Id: Ia540883349e2699503d7eeb1d4b602beeb74510f
Diffstat (limited to 'src/compiler_llvm/jni_compiler.cc')
-rw-r--r--src/compiler_llvm/jni_compiler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc
index 4994e69336..1fa0ce76b8 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(),
- kTBAARuntimeInfo);
+ kTBAAJRuntime);
}
// Actual argument (ignore method and this object)
arg_begin = arg_iter;
@@ -143,7 +143,7 @@ CompiledMethod* JniCompiler::Compile() {
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 @@ CompiledMethod* JniCompiler::Compile() {
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;