Skip to content

Commit fa87f22

Browse files
victorgomesV8 LUCI CQ
authored andcommitted
Merged: 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: 462213735 Fixed: 475265929 (cherry picked from commit ff77083) Change-Id: I6078b69e87243a1bfbee279ffa42bb3abe8a534c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7452031 Reviewed-by: Deepti Gandluri <[email protected]> Commit-Queue: Rezvan Mahdavi Hezaveh <[email protected]> Cr-Commit-Position: refs/branch-heads/14.3@{#34} Cr-Branched-From: 13c7e31-refs/heads/14.3.127@{#1} Cr-Branched-From: 01af089-refs/heads/main@{#103352}
1 parent 326f5f8 commit fa87f22

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
@@ -4968,7 +4968,7 @@ void Assembler::CheckVeneerPool(bool force_emit, bool require_jump,
49684968
return;
49694969
}
49704970

4971-
CHECK_LT(pc_offset(), unresolved_branches_first_limit());
4971+
DCHECK(pc_offset() < unresolved_branches_first_limit());
49724972

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

0 commit comments

Comments
 (0)