diff options
author | alon@honor <none@none> | 2010-10-05 19:26:00 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-05 19:26:00 -0700 |
commit | a81e16221f402f160b7d909497d36da7e29e1df8 (patch) | |
tree | 0ec744cc4ab3cb3c709edb76486647cea408f5fe /src | |
parent | 01ae695b4db1b8d01c291871384be5a8df44499b (diff) |
version 0.3
Diffstat (limited to 'src')
-rw-r--r-- | src/analyzer.js | 10 |
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], |