diff options
Diffstat (limited to 'runtime/exception_test.cc')
| -rw-r--r-- | runtime/exception_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/exception_test.cc b/runtime/exception_test.cc index 33d756ea12..9f84bd2a39 100644 --- a/runtime/exception_test.cc +++ b/runtime/exception_test.cc @@ -186,13 +186,15 @@ TEST_F(ExceptionTest, StackTraceElement) { fake_stack.push_back(0); } - fake_stack.push_back(method_g_->ToNativeQuickPc(dex_pc)); // return pc + fake_stack.push_back( + method_g_->ToNativeQuickPc(dex_pc, /* is_catch_handler */ false)); // return pc // Create/push fake 16byte stack frame for method g fake_stack.push_back(reinterpret_cast<uintptr_t>(method_g_)); fake_stack.push_back(0); fake_stack.push_back(0); - fake_stack.push_back(method_f_->ToNativeQuickPc(dex_pc)); // return pc + fake_stack.push_back( + method_g_->ToNativeQuickPc(dex_pc, /* is_catch_handler */ false)); // return pc // Create/push fake 16byte stack frame for method f fake_stack.push_back(reinterpret_cast<uintptr_t>(method_f_)); |