aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-15 20:30:00 -0700
committeralon@honor <none@none>2010-10-15 20:30:00 -0700
commit518031af3274ba14eb0efdbd994d0986b61ee4f1 (patch)
treeda1fa302531ece6cb2b917f3b920daa762a1dc0b
parent57b5edca46b8e86c7a0157db84e20eeab0eb547f (diff)
loop optimizer cleanup
-rw-r--r--src/analyzer.js2
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');
}