diff options
author | 2020-10-28 15:43:54 +0000 | |
---|---|---|
committer | 2020-11-04 18:06:08 +0000 | |
commit | 01b65526c1dce94abb8ed98d473ddcd2b8fcd692 (patch) | |
tree | edc3f88f666415ffb459bad64a585fa576dc65ab /compiler/optimizing/intrinsics.h | |
parent | 908759b00ba0d84445636cc7cfcaf830b45e7b73 (diff) |
Implement Reference.getReferent() intrinsic.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --jit
Test: aosp_blueline-userdebug boots.
Test: run-gtests.sh
Test: testrunner.py --target --optimizing --jit
Bug: 170286013
Change-Id: I4762f7c1cf3d61de2215ec8f1d14be80289c2372
Diffstat (limited to 'compiler/optimizing/intrinsics.h')
-rw-r--r-- | compiler/optimizing/intrinsics.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/intrinsics.h b/compiler/optimizing/intrinsics.h index cc26e41067..a0f9420d95 100644 --- a/compiler/optimizing/intrinsics.h +++ b/compiler/optimizing/intrinsics.h @@ -136,6 +136,10 @@ class IntrinsicVisitor : public ValueObject { static IntegerValueOfInfo ComputeIntegerValueOfInfo( HInvoke* invoke, const CompilerOptions& compiler_options); + static MemberOffset GetReferenceDisableIntrinsicOffset(); + static MemberOffset GetReferenceSlowPathEnabledOffset(); + static void CreateReferenceGetReferentLocations(HInvoke* invoke, CodeGenerator* codegen); + protected: IntrinsicVisitor() {} |