diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-14 16:28:34 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-14 16:28:34 -0800 |
commit | c585b1f0ac05117e24220f44269e149582282212 (patch) | |
tree | 78da69410d38e75847529c935edf5c31b095c34d /src/analyzer.js | |
parent | b3fede1b70fee4b5fc23f7aeafef5eefb22104fc (diff) |
use &,| to combine illegal reductions
Diffstat (limited to 'src/analyzer.js')
-rw-r--r-- | src/analyzer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyzer.js b/src/analyzer.js index 8146c75c..d91bbe73 100644 --- a/src/analyzer.js +++ b/src/analyzer.js @@ -617,8 +617,8 @@ function analyzer(data, sidePass) { for (var i = 0; i < targetElements.length; i++) { if (i > 0) { switch(value.variant) { - case 'eq': ident += '&&'; break; - case 'ne': ident += '||'; break; + case 'eq': ident += '&'; break; + case 'ne': ident += '|'; break; default: throw 'unhandleable illegal icmp: ' + value.variant; } } |