Skip to content

Commit ff77083

Browse files
victorgomesV8 LUCI CQ
authored andcommitted
Revert "[arm64] Use CHECK (instead of DCHECK) in CheckVeennerPool"
This reverts commit 30c0047. Reason for revert: b/462213735 Original change's description: > [arm64] Use CHECK (instead of DCHECK) in CheckVeennerPool > > This is a hardening measure to prevent potential data corruption > by crashing immediately if the invariant is ever violated in release > mode. > > Bug: 435640828 > Change-Id: Idc10542a68d52747aa1e8500ae3ef3a2cf138330 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7014092 > Auto-Submit: Victor Gomes <[email protected]> > Commit-Queue: Victor Gomes <[email protected]> > Reviewed-by: Anton Bikineev <[email protected]> > Cr-Commit-Position: refs/heads/main@{#102961} Bug: 435640828 Change-Id: Ia31d6e24dbb5dea1f10bfcf7a32849f9a0eb4253 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7369391 Reviewed-by: Darius Mercadier <[email protected]> Commit-Queue: Darius Mercadier <[email protected]> Auto-Submit: Victor Gomes <[email protected]> Cr-Commit-Position: refs/heads/main@{#104492}
1 parent c253ab1 commit ff77083

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/codegen/arm64/assembler-arm64.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4953,7 +4953,7 @@ void Assembler::CheckVeneerPool(bool force_emit, bool require_jump,
49534953
return;
49544954
}
49554955

4956-
CHECK_LT(pc_offset(), unresolved_branches_first_limit());
4956+
DCHECK(pc_offset() < unresolved_branches_first_limit());
49574957

49584958
// Some short sequence of instruction mustn't be broken up by veneer pool
49594959
// emission, such sequences are protected by calls to BlockVeneerPoolFor and

0 commit comments

Comments
 (0)