mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Fix mistakingly flagged instructions.
This enables optimizations which were wrongly inhibited before by this typo.
This commit is contained in:
@@ -2306,7 +2306,7 @@ jit::RemoveUnmarkedBlocks(MIRGenerator* mir, MIRGraph& graph, uint32_t numMarked
|
||||
// bailout.
|
||||
for (PostorderIterator it(graph.poBegin()); it != graph.poEnd();) {
|
||||
MBasicBlock* block = *it++;
|
||||
if (!block->isMarked())
|
||||
if (block->isMarked())
|
||||
continue;
|
||||
|
||||
FlagAllOperandsAsHavingRemovedUses(mir, block);
|
||||
|
||||
Reference in New Issue
Block a user