diff options
author | 2023-11-10 09:41:33 +0000 | |
---|---|---|
committer | 2023-11-16 12:14:25 +0000 | |
commit | fe307811eea419ac99148a824b7e02db378625a3 (patch) | |
tree | 19766ef079f8144a2bda08f55cff2e6aeb93dc50 /compiler/optimizing/intrinsics.h | |
parent | 6ad23882ac8b455c4b6068c37d1e5ebbc5aaa42f (diff) |
Harcode IntegerCache range.
Let JIT assume these ranges. They are checked at AOT time when
generating the boot image and when compiling applications.
Test: test.py
Change-Id: Ib2240d150bab366a3c17e0015503f728a98ae2ea
Diffstat (limited to 'compiler/optimizing/intrinsics.h')
-rw-r--r-- | compiler/optimizing/intrinsics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/intrinsics.h b/compiler/optimizing/intrinsics.h index 177eedb363..fbcc613e8c 100644 --- a/compiler/optimizing/intrinsics.h +++ b/compiler/optimizing/intrinsics.h @@ -132,6 +132,8 @@ class IntrinsicVisitor : public ValueObject { static IntegerValueOfInfo ComputeIntegerValueOfInfo( HInvoke* invoke, const CompilerOptions& compiler_options); + static bool CheckIntegerCacheFields(ObjPtr<mirror::ObjectArray<mirror::Object>> cache) + REQUIRES_SHARED(Locks::mutator_lock_); static MemberOffset GetReferenceDisableIntrinsicOffset(); static MemberOffset GetReferenceSlowPathEnabledOffset(); |