Skip to content

Commit ba14b66

Browse files
committed
[MERGE #6108 @LouisLaf] Fix ChakraFull CI
Merge pull request #6108 from LouisLaf:ophelper When coalesing this pattern: L1: <helper> L2: Mark the remaining label as non-helper.
2 parents c2e3481 + 3d9c7e3 commit ba14b66

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/Backend/Lower.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10414,7 +10414,7 @@ Lowerer::LowerEqualityBranch(IR::Instr* instr, IR::JnHelperMethod helper)
1041410414
{
1041510415
if (isStrictCompare)
1041610416
{
10417-
LowerStrictBrOrCm(instr, helper, false, true /* isBranch */, true);
10417+
LowerStrictBrOrCm(instr, helper, false, true /* isBranch */, false);
1041810418
}
1041910419
else
1042010420
{

lib/Backend/Peeps.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ Peeps::PeepBranch(IR::BranchInstr *branchInstr, bool *const peepedRef)
453453
else
454454
{
455455
IR::Instr *instrTmp = instrSkip;
456+
instrNext->AsLabelInstr()->isOpHelper = instrSkip->AsLabelInstr()->isOpHelper;
456457
instrSkip = instrNext;
457458
instrNext = instrTmp;
458459
}

0 commit comments

Comments
 (0)