Fix exception_test for (USE_LLVM_COMPILER) build.
Change-Id: I562691fe5f6a847e50882126d6004d2aa44b8a86
diff --git a/src/exception_test.cc b/src/exception_test.cc
index e52992c..c83557d 100644
--- a/src/exception_test.cc
+++ b/src/exception_test.cc
@@ -146,14 +146,15 @@
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();