diff options
Diffstat (limited to 'runtime/stack.cc')
| -rw-r--r-- | runtime/stack.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index 7f1f47f2bc..eb0fe5692d 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -787,7 +787,8 @@ QuickMethodFrameInfo StackVisitor::GetCurrentQuickFrameInfo() const { DCHECK(method->IsNative()); if (kIsDebugBuild && !method->IsCriticalNative()) { ClassLinker* class_linker = runtime->GetClassLinker(); - const void* entry_point = runtime->GetInstrumentation()->GetCodeForInvoke(method); + const void* entry_point = runtime->GetInstrumentation()->GetQuickCodeFor(method, + kRuntimePointerSize); CHECK(class_linker->IsQuickGenericJniStub(entry_point) || // The current entrypoint (after filtering out trampolines) may have changed // from GenericJNI to JIT-compiled stub since we have entered this frame. |