summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-12-12 00:49:58 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-12-12 00:49:58 +0100
commitf2d4bd1e395f903355cc157a1de7207e5b22b7fb (patch)
treefaa5dde3d4e748b072c34853b740d22cf1fd562f
parent67d5558f1a1b5b26a771c3a05e1e63a2966cc325 (diff)
downloadUXP-f2d4bd1e395f903355cc157a1de7207e5b22b7fb.tar
UXP-f2d4bd1e395f903355cc157a1de7207e5b22b7fb.tar.gz
UXP-f2d4bd1e395f903355cc157a1de7207e5b22b7fb.tar.lz
UXP-f2d4bd1e395f903355cc157a1de7207e5b22b7fb.tar.xz
UXP-f2d4bd1e395f903355cc157a1de7207e5b22b7fb.zip
Fix mistakingly flagged instructions.
This enables optimizations which were wrongly inhibited before by this typo.
-rw-r--r--js/src/jit/IonAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/IonAnalysis.cpp b/js/src/jit/IonAnalysis.cpp
index 2c9ffb607..b163d5818 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);