aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-14 16:00:41 -0500
committerAlon Zakai <alonzakai@gmail.com>2012-02-14 16:00:41 -0500
commite6a4d7effcf522343051bf62abe074712858b3c3 (patch)
treed475f98632a712eb3999e7fe81f0e11468cb0b81
parent84e717376a9926782b10e3f3364b014bfee88d88 (diff)
fix typo in uge comparison
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 1b48737e..071ed090 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1640,7 +1640,7 @@ function processMathop(item) {
case 'fptoui': case 'fptosi': return finish(splitI64(ident1));
case 'icmp': {
switch (variant) {
- case 'uge': return high1 + ' >= ' + high2 + ' && (' + high1 + ' > ' + high + ' || ' +
+ case 'uge': return high1 + ' >= ' + high2 + ' && (' + high1 + ' > ' + high2 + ' || ' +
low1 + ' >= ' + low2 + ')';
case 'sge': return '(' + high1 + '|0) >= (' + high2 + '|0) && ((' + high1 + '|0) > (' + high2 + '|0) || ' +
'(' + low1 + '|0) >= (' + low2 + '|0))';