aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-03 21:11:57 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-03 21:11:57 -0800
commit02cdea5859956e1bffcdc1f26a188200a529c53a (patch)
tree1794267ea5f1dd0ac72834fbf7e2a70c6ebcdfd2 /src/parseTools.js
parentab45ff99a7ebae47372492f7f1d445e4892aaf7e (diff)
do not emit bash on legalized variables of <= 32 bits
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 5d3c0179..7f4f3a18 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -2203,7 +2203,6 @@ function processMathop(item) {
case 'ne': case 'eq': {
// We must sign them, so we do not compare -1 to 255 (could have unsigned them both too)
// since LLVM tells us if <=, >= etc. comparisons are signed, but not == and !=.
- assert(paramTypes[0] == paramTypes[1]);
idents[0] = makeSignOp(idents[0], paramTypes[0], 're');
idents[1] = makeSignOp(idents[1], paramTypes[1], 're');
return idents[0] + (variant === 'eq' ? '==' : '!=') + idents[1];