diff options
| author | 2022-07-04 16:24:06 +0000 | |
|---|---|---|
| committer | 2022-07-13 14:44:05 +0000 | |
| commit | ef0b9c465a24f1ff1c3442c9ae45ae0e0456e09e (patch) | |
| tree | 230a0ec53d7f0cb29ee3d1a5f556d65401053f74 /runtime/mirror/array-inl.h | |
| parent | 26aef1213dbdd7ab03688d898cf802c8c8d7e610 (diff) | |
Reland "Adjust how we assign vtable indexes during class loading."
This reverts commit 07c2fec6b025d5cc104ab4f210c3941528f56fd6.
Bug: 211854716
Bug: 233545487
Bug: 181943478
Reason for revert: addressed comments
Change-Id: Id45c8e826b81f00190920a2b3270937614700f5f
Diffstat (limited to 'runtime/mirror/array-inl.h')
| -rw-r--r-- | runtime/mirror/array-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/array-inl.h b/runtime/mirror/array-inl.h index b0e77b45a6..b7a8a8ce49 100644 --- a/runtime/mirror/array-inl.h +++ b/runtime/mirror/array-inl.h @@ -98,7 +98,7 @@ inline void PrimitiveArray<T>::SetWithoutChecks(int32_t i, T value) { if (kTransactionActive) { Runtime::Current()->RecordWriteArray(this, i, GetWithoutChecks(i)); } - DCHECK(CheckIsValidIndex<kVerifyFlags>(i)); + DCHECK(CheckIsValidIndex<kVerifyFlags>(i)) << i << " " << GetLength<kVerifyFlags>(); GetData()[i] = value; } // Backward copy where elements are of aligned appropriately for T. Count is in T sized units. |