summaryrefslogtreecommitdiff
path: root/tools/cpp-define-generator/art_method.def
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-10-17 12:42:52 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2024-10-23 08:39:45 +0000
commit398bedca50a44d26edc84e24a1c1b587cefaf8de (patch)
treed7327d8e0dfc4b600de34dfe704208beb0de3333 /tools/cpp-define-generator/art_method.def
parent003071c7fc8f19cefe82b4f95bffeeec88b0658c (diff)
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
Diffstat (limited to 'tools/cpp-define-generator/art_method.def')
-rw-r--r--tools/cpp-define-generator/art_method.def4
1 files changed, 4 insertions, 0 deletions
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,