aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/analyzer.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 13602e32..9ea62fae 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -476,14 +476,14 @@ function analyzer(data) {
var nextEntries = keys(entryLabel.outLabels);
dprint('relooping', ' Creating simple emulated, outlabels: ' + nextEntries);
- if (nextEntries.length == 1) {
- replaceLabelLabels([entryLabel], set(nextEntries), 'BNOPP'); // remove unneeded branch XXX - this is dangerous, as we may
- // have 1 next entry, but 1 or more B-labels...
- } else {
+ //if (nextEntries.length == 1) {
+ // replaceLabelLabels([entryLabel], set(nextEntries), 'BNOPP'); // remove unneeded branch XXX - this is dangerous, as we may
+ // // have 1 next entry, but 1 or more B-labels...
+ //} else {
nextEntries.forEach(function(nextEntry) {
replaceLabelLabels([entryLabel], set(nextEntry), 'BJSET' + nextEntry); // Just SET __label__ - no break or continue or whatnot
});
- }
+ //}
return {
type: 'emulated',
labels: [entryLabel],