diff options
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
| -rw-r--r-- | runtime/interpreter/interpreter.cc | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc index ec183b3c7f..a1f212305f 100644 --- a/runtime/interpreter/interpreter.cc +++ b/runtime/interpreter/interpreter.cc @@ -500,10 +500,8 @@ void EnterInterpreterFromDeoptimize(Thread* self,        // null Instrumentation*.        const instrumentation::Instrumentation* const instrumentation =            first ? nullptr : Runtime::Current()->GetInstrumentation(); -      uint32_t found_dex_pc = FindNextInstructionFollowingException(self, *shadow_frame, dex_pc, -                                                                    instrumentation); -      new_dex_pc = found_dex_pc;  // the dex pc of a matching catch handler -                                  // or DexFile::kDexNoIndex if there is none. +      new_dex_pc = MoveToExceptionHandler( +          self, *shadow_frame, instrumentation) ? shadow_frame->GetDexPC() : DexFile::kDexNoIndex;      } else if (!from_code) {        // Deoptimization is not called from code directly.        const Instruction* instr = Instruction::At(&code_item->insns_[dex_pc]);  |