diff options
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index de9d9ca0c5..89c6a0b717 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -3287,8 +3287,7 @@ bool ClassLinker::ShouldUseInterpreterEntrypoint(ArtMethod* method, const void* return true; } - if (Thread::Current()->IsForceInterpreter() || - Dbg::IsForcedInterpreterNeededForCalling(Thread::Current(), method)) { + if (Dbg::IsForcedInterpreterNeededForCalling(Thread::Current(), method)) { // Force the use of interpreter when it is required by the debugger. return true; } |