summaryrefslogtreecommitdiff
path: root/runtime/exception_test.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-10-17 02:29:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-10-17 02:29:32 +0000
commitb3f18cf7466f85e15c6b7f005f544867a4d6847a (patch)
tree62035f08dc38038b74c9796118ae0bab0e7608fb /runtime/exception_test.cc
parentcb142101f29a4f1e097f03a220db3da6d4bd679f (diff)
parent6f3dbbadf4ce66982eb3d400e0a74cb73eb034f3 (diff)
Merge "Make ART compile with GCC -O0 again."
Diffstat (limited to 'runtime/exception_test.cc')
-rw-r--r--runtime/exception_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/exception_test.cc b/runtime/exception_test.cc
index 3a17ecaa57..1714134d25 100644
--- a/runtime/exception_test.cc
+++ b/runtime/exception_test.cc
@@ -175,7 +175,7 @@ TEST_F(ExceptionTest, StackTraceElement) {
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_->ToNativePc(dex_pc)); // return pc
+ fake_stack.push_back(method_f_->ToNativeQuickPc(dex_pc)); // return pc
// Create/push fake 16byte stack frame for method f
fake_stack.push_back(reinterpret_cast<uintptr_t>(method_f_));
@@ -194,7 +194,7 @@ TEST_F(ExceptionTest, StackTraceElement) {
// Set up thread to appear as if we called out of method_g_ at pc dex 3
thread->SetTopOfStack(
reinterpret_cast<StackReference<mirror::ArtMethod>*>(&fake_stack[0]),
- method_g_->ToNativePc(dex_pc)); // return pc
+ method_g_->ToNativeQuickPc(dex_pc)); // return pc
} else {
// Create/push fake 20-byte shadow frame for method g
fake_stack.push_back(0);