diff options
author | alon@honor <none@none> | 2010-10-15 20:30:00 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-15 20:30:00 -0700 |
commit | 518031af3274ba14eb0efdbd994d0986b61ee4f1 (patch) | |
tree | da1fa302531ece6cb2b917f3b920daa762a1dc0b | |
parent | 57b5edca46b8e86c7a0157db84e20eeab0eb547f (diff) |
loop optimizer cleanup
-rw-r--r-- | src/analyzer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index f771392d..2a0ee701 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -716,7 +716,7 @@ function analyzer(data) { if (block.labels.length == 1 && block.next) { var label = block.labels[0]; dprint('relooping', '// simple emulated: ' + label.originalOutLabels + ' || ' + block.next.entries); - if (label.originalOutLabels.length == 1 && block.next.entries.length == 1) { + if (label.originalOutLabels.length == 1) { dprint('relooping', '// removing!'); replaceLabelLabels([label], set('BJSET|' + label.originalOutLabels[0] + '|' + label.originalOutLabels[0]), 'BNOPP'); } |