From 26aef1213dbdd7ab03688d898cf802c8c8d7e610 Mon Sep 17 00:00:00 2001 From: Mythri Alle Date: Wed, 13 Jul 2022 07:17:56 +0000 Subject: Revert "Introduce a flag to check if JITed code has instrumentation support" This reverts commit fc067a360d14db5f84fd4b58e0dee6cb04ee759b. Reason for revert: test failures on jit-on-first-use: https://android-build.googleplex.com/builds/submitted/8821659/art-jit-on-first-use/latest/view/logs/build_error.log Change-Id: Ie9bc243baac777ecc4f47cc961494ca6ab3ef4c6 --- test/common/stack_inspect.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/common/stack_inspect.cc') 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(stack_visitor->GetThisObject()); -- cgit v1.2.3-59-g8ed1b