From e4ac0e17f8467cc843e19998be64dfd45220dc7e Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 12 Dec 2018 00:49:58 +0100 Subject: [PATCH] Fix mistakingly flagged instructions. This enables optimizations which were wrongly inhibited before by this typo. --- js/src/jit/IonAnalysis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jit/IonAnalysis.cpp b/js/src/jit/IonAnalysis.cpp index 2c9ffb607d..b163d5818b 100644 --- a/js/src/jit/IonAnalysis.cpp +++ b/js/src/jit/IonAnalysis.cpp @@ -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);