diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-12 00:49:58 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-12 00:49:58 +0100 |
commit | f2d4bd1e395f903355cc157a1de7207e5b22b7fb (patch) | |
tree | faa5dde3d4e748b072c34853b740d22cf1fd562f /js/src/jit/IonAnalysis.cpp | |
parent | 67d5558f1a1b5b26a771c3a05e1e63a2966cc325 (diff) | |
download | UXP-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.
Diffstat (limited to 'js/src/jit/IonAnalysis.cpp')
-rw-r--r-- | js/src/jit/IonAnalysis.cpp | 2 |
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); |