summaryrefslogtreecommitdiff
path: root/src/exception_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exception_test.cc')
-rw-r--r--src/exception_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exception_test.cc b/src/exception_test.cc
index e52992c70d..c83557dae1 100644
--- a/src/exception_test.cc
+++ b/src/exception_test.cc
@@ -146,14 +146,15 @@ TEST_F(ExceptionTest, StackTraceElement) {
fake_stack.push_back(0);
fake_stack.push_back(0);
fake_stack.push_back(reinterpret_cast<uintptr_t>(method_g_));
- fake_stack.push_back(37);
+ // LLVM compiler will do this in the MethodCompiler
+ fake_stack.push_back(dex_->GetLineNumFromPC(method_g_, 3));
fake_stack.push_back(0);
// Create/push fake 20-byte shadow frame for method f
fake_stack.push_back(0);
fake_stack.push_back(0);
fake_stack.push_back(reinterpret_cast<uintptr_t>(method_f_));
- fake_stack.push_back(22);
+ fake_stack.push_back(dex_->GetLineNumFromPC(method_f_, 3));
fake_stack.push_back(0);
Thread* thread = Thread::Current();