diff options
Diffstat (limited to 'test/common/stack_inspect.cc')
-rw-r--r-- | test/common/stack_inspect.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/common/stack_inspect.cc b/test/common/stack_inspect.cc index 7537705d21..79c7a36a8e 100644 --- a/test/common/stack_inspect.cc +++ b/test/common/stack_inspect.cc @@ -195,8 +195,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_Main_getThisOfCaller( if (stack_visitor->GetMethod() == nullptr || stack_visitor->GetMethod()->IsNative() || (stack_visitor->GetCurrentShadowFrame() == nullptr && - !Runtime::Current()->IsAsyncDeoptimizeable(stack_visitor->GetMethod(), - stack_visitor->GetCurrentQuickFramePc()))) { + !Runtime::Current()->IsAsyncDeoptimizeable(stack_visitor->GetCurrentQuickFramePc()))) { return true; } result = soa.AddLocalReference<jobject>(stack_visitor->GetThisObject()); |