diff options
author | 2024-11-12 17:26:22 +0000 | |
---|---|---|
committer | 2024-11-13 10:33:46 +0000 | |
commit | c2ad788c311fc144582a07d4ae1654d39079511c (patch) | |
tree | a46492914f0d958edbd058b670190f238453b79c | |
parent | 6713bfa5b4d627a69df4ae6659a4761117a74399 (diff) |
riscv: Remove bad DCHECK
update_old_value_slow_path_ is different than nullptr and
that DCHECK should always fail.
Test: LUCI run https://ci.chromium.org/b/8731455182373771345 and note
no `update_old_value_slow_path_ == nullptr` failure.
Change-Id: Ia9dd93fae84bb9758d8b80f297f3819ca4003c17
-rw-r--r-- | compiler/optimizing/intrinsics_riscv64.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/optimizing/intrinsics_riscv64.cc b/compiler/optimizing/intrinsics_riscv64.cc index 7fc5cfb764..d2a0e97527 100644 --- a/compiler/optimizing/intrinsics_riscv64.cc +++ b/compiler/optimizing/intrinsics_riscv64.cc @@ -1439,7 +1439,6 @@ class ReadBarrierCasSlowPathRISCV64 : public SlowPathCodeRISCV64 { DCHECK(update_old_value_slow_path_ != nullptr); __ Bind(&mark_old_value); if (kUseBakerReadBarrier) { - DCHECK(update_old_value_slow_path_ == nullptr); __ Mv(old_value_, old_value_temp_); riscv64_codegen->EmitBakerReadBarierMarkingCheck(update_old_value_slow_path_, Location::RegisterLocation(old_value_), |