diff options
Diffstat (limited to 'runtime/stack.cc')
| -rw-r--r-- | runtime/stack.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index eb0fe5692d..7f1f47f2bc 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -787,8 +787,7 @@ QuickMethodFrameInfo StackVisitor::GetCurrentQuickFrameInfo() const { DCHECK(method->IsNative()); if (kIsDebugBuild && !method->IsCriticalNative()) { ClassLinker* class_linker = runtime->GetClassLinker(); - const void* entry_point = runtime->GetInstrumentation()->GetQuickCodeFor(method, - kRuntimePointerSize); + const void* entry_point = runtime->GetInstrumentation()->GetCodeForInvoke(method); 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. |