From fb1b08cbb9c6ac149d75de16c14fdaa8b68baaa4 Mon Sep 17 00:00:00 2001 From: Mythri Alle Date: Thu, 12 May 2022 15:59:11 +0000 Subject: Revert "Reland^2 "Don't use AOT code for native methods for java debuggable runtime"" This reverts commit 5da52cd20ea0d24b038ae20c6c96aa22ac3a24a0. Reason for revert: https://ci.chromium.org/ui/p/art/builders/ci/host-x86_64-cdex-fast/5172/overview Change-Id: I9cebbaa145810547531a90af9da7961c0b6255d1 --- compiler/utils/jni_macro_assembler.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'compiler/utils/jni_macro_assembler.h') diff --git a/compiler/utils/jni_macro_assembler.h b/compiler/utils/jni_macro_assembler.h index c8c713ae67..7022e3df92 100644 --- a/compiler/utils/jni_macro_assembler.h +++ b/compiler/utils/jni_macro_assembler.h @@ -126,11 +126,7 @@ class JNIMacroAssembler : public DeletableArenaObject { virtual void StoreStackOffsetToThread(ThreadOffset thr_offs, FrameOffset fr_offs) = 0; - // Stores stack pointer by tagging it if required so we can walk the stack. In debuggable runtimes - // we use tag to tell if we are using JITed code or AOT code. In non-debuggable runtimes we never - // use JITed code when AOT code is present. So checking for AOT code is sufficient to detect which - // code is being executed. We avoid tagging in non-debuggable runtimes to reduce instructions. - virtual void StoreStackPointerToThread(ThreadOffset thr_offs, bool tag_sp) = 0; + virtual void StoreStackPointerToThread(ThreadOffset thr_offs) = 0; virtual void StoreSpanning(FrameOffset dest, ManagedRegister src, -- cgit v1.2.3-59-g8ed1b