Skip to content

Commit

Permalink
Merged: [maglev] Compare tagged values when comparing Smis
Browse files Browse the repository at this point in the history
Revision: bf6aa50

BUG=v8:7700, chromium:1440723
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
[email protected]

Change-Id: I8be744aa42858c23f5e38974328419468bebc7e7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4556324
Reviewed-by: Toon Verwaest <[email protected]>
Cr-Commit-Position: refs/branch-heads/11.5@{v8#2}
Cr-Branched-From: 0c4044b-refs/heads/11.5.150@{#1}
Cr-Branched-From: b71d303-refs/heads/main@{#87781}
  • Loading branch information
LeszekSwirski committed May 23, 2023
1 parent e8b4623 commit 12539b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maglev/arm64/maglev-assembler-arm64-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ inline void MaglevAssembler::CompareSmiAndJumpIf(Register r1, Smi value,
Condition cond, Label* target,
Label::Distance distance) {
AssertSmi(r1);
CompareAndBranch(r1, Immediate(value), cond, target);
CompareTaggedAndBranch(r1, Immediate(value), cond, target);
}

inline void MaglevAssembler::TestInt32AndJumpIfAnySet(
Expand Down

0 comments on commit 12539b8

Please sign in to comment.