summaryrefslogtreecommitdiff
path: root/runtime/exception_test.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-09-15 16:52:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-09-15 16:52:02 +0000
commit5559f9decadf23e887030fa35ad9d0fcc922046b (patch)
tree1f697d6afc0da2a9ef77ce296b96b33b54af1e2a /runtime/exception_test.cc
parent0c1b297d586b71970da17c77774c27a6603118f6 (diff)
parent72f7b880d5d0057b9fac3a51ef3a0f22909bc633 (diff)
Merge "ART: Fix 004-ReferenceMap run test"
Diffstat (limited to 'runtime/exception_test.cc')
-rw-r--r--runtime/exception_test.cc6
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_));