From 398bedca50a44d26edc84e24a1c1b587cefaf8de Mon Sep 17 00:00:00 2001
From: Santiago Aboy Solanes <solanes@google.com>
Date: Thu, 17 Oct 2024 12:42:52 +0000
Subject: Revert^2 "IsMemorySharedMethod fix for intrinsics"

This reverts commit d96190b790e4cde51e992d7613e6df1af63a9b35.

Reason for revert: Hotness counter fix

Test: art/test/testrunner/testrunner.py --host --64 -b --jit
Test: Build and boot an eng build without the hotness counter error
Test: LUCI run https://ci.chromium.org/b/8733734597298578033
Bug: 78151261
Bug: 162110941
Bug: 373966864
Change-Id: I3dc6bb2fdeb811a94726b70ec4e678bc51aaa405
---
 tools/cpp-define-generator/art_method.def | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'tools/cpp-define-generator/art_method.def')

diff --git a/tools/cpp-define-generator/art_method.def b/tools/cpp-define-generator/art_method.def
index d5ba59998d..3c34247ec2 100644
--- a/tools/cpp-define-generator/art_method.def
+++ b/tools/cpp-define-generator/art_method.def
@@ -21,6 +21,10 @@
 
 ASM_DEFINE(ART_METHOD_ACCESS_FLAGS_OFFSET,
            art::ArtMethod::AccessFlagsOffset().Int32Value())
+ASM_DEFINE(ART_METHOD_IS_INTRINSIC_FLAG,
+           art::kAccIntrinsic)
+ASM_DEFINE(ART_METHOD_IS_INTRINSIC_FLAG_BIT,
+           art::MostSignificantBit(art::kAccIntrinsic))
 ASM_DEFINE(ART_METHOD_IS_MEMORY_SHARED_FLAG,
            art::kAccMemorySharedMethod)
 ASM_DEFINE(ART_METHOD_IS_MEMORY_SHARED_FLAG_BIT,
-- 
cgit v1.2.3-59-g8ed1b

