diff options
Diffstat (limited to 'runtime/interpreter/interpreter_common.h')
| -rw-r--r-- | runtime/interpreter/interpreter_common.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/runtime/interpreter/interpreter_common.h b/runtime/interpreter/interpreter_common.h index 82e12f5c6a..5b942f2e73 100644 --- a/runtime/interpreter/interpreter_common.h +++ b/runtime/interpreter/interpreter_common.h @@ -462,17 +462,9 @@ static inline int32_t DoSparseSwitch(const Instruction* inst, const ShadowFrame& return 3; } -// We execute any instrumentation events triggered by throwing and/or handing the pending exception -// and change the shadow_frames dex_pc to the appropriate exception handler if the current method -// has one. If the exception has been handled and the shadow_frame is now pointing to a catch clause -// we return true. If the current method is unable to handle the exception we return false. -// This function accepts a null Instrumentation* as a way to cause instrumentation events not to be -// reported. -// TODO We might wish to reconsider how we cause some events to be ignored. -bool MoveToExceptionHandler(Thread* self, - ShadowFrame& shadow_frame, - const instrumentation::Instrumentation* instrumentation) - REQUIRES_SHARED(Locks::mutator_lock_); +uint32_t FindNextInstructionFollowingException(Thread* self, ShadowFrame& shadow_frame, + uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation) + REQUIRES_SHARED(Locks::mutator_lock_); NO_RETURN void UnexpectedOpcode(const Instruction* inst, const ShadowFrame& shadow_frame) __attribute__((cold)) |