diff options
| author | 2022-07-04 08:57:31 +0000 | |
|---|---|---|
| committer | 2022-07-04 16:17:46 +0000 | |
| commit | 07c2fec6b025d5cc104ab4f210c3941528f56fd6 (patch) | |
| tree | f28472df4fb1c0e2d873c9186ea71e95004b3b90 /runtime/mirror/array-inl.h | |
| parent | de9d355a352bd4376cbaf6744d89e6673f29898b (diff) | |
Revert "Adjust how we assign vtable indexes during class loading."
This reverts commit 868e576d4f67026bb7109286f922cb26e0e84145.
Bug: 211854716
Bug: 233545487
Reason for revert: Some inaccuracies in the comments.
Change-Id: Iddfe66c7748ef2f617d06d5dbcb8787a18e22125
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 b7a8a8ce49..b0e77b45a6 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)) << i << " " << GetLength<kVerifyFlags>(); + DCHECK(CheckIsValidIndex<kVerifyFlags>(i)); GetData()[i] = value; } // Backward copy where elements are of aligned appropriately for T. Count is in T sized units. |