summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/jni_compiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler_llvm/jni_compiler.cc')
-rw-r--r--src/compiler_llvm/jni_compiler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc
index 071c0bd4e7..e0a570463a 100644
--- a/src/compiler_llvm/jni_compiler.cc
+++ b/src/compiler_llvm/jni_compiler.cc
@@ -142,7 +142,7 @@ CompiledMethod* JniCompiler::Compile() {
// Set thread state to kNative
StoreToObjectOffset(thread_object_addr,
Thread::StateOffset().Int32Value(),
- irb_.getInt32(Thread::kNative));
+ irb_.getInt32(kNative));
// Get callee code_addr
llvm::Value* code_addr_ =
@@ -262,7 +262,7 @@ CompiledMethod* JniCompiler::Compile() {
// Set thread state to kRunnable
StoreToObjectOffset(thread_object_addr,
Thread::StateOffset().Int32Value(),
- irb_.getInt32(Thread::kRunnable));
+ irb_.getInt32(kRunnable));
if (return_shorty == 'L') {
// If the return value is reference, it may point to SIRT, we should decode it.