summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r--compiler/exception_test.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc
index f86e0b9b01..f55ba8e0e5 100644
--- a/compiler/exception_test.cc
+++ b/compiler/exception_test.cc
@@ -194,15 +194,13 @@ TEST_F(ExceptionTest, StackTraceElement) {
OatQuickMethodHeader* header = OatQuickMethodHeader::FromEntryPoint(
method_g_->GetEntryPointFromQuickCompiledCode());
- fake_stack.push_back(header->ToNativeQuickPc(
- method_g_, kDexPc, /* is_for_catch_handler= */ false)); // return pc
+ fake_stack.push_back(header->ToNativeQuickPc(method_g_, kDexPc)); // 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(header->ToNativeQuickPc(
- method_g_, kDexPc, /* is_for_catch_handler= */ false)); // return pc
+ fake_stack.push_back(header->ToNativeQuickPc(method_g_, kDexPc)); // return pc
// Create/push fake 16byte stack frame for method f
fake_stack.push_back(reinterpret_cast<uintptr_t>(method_f_));