Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r80613:21cd9596d1b4
Date: 2015-11-09 13:07 +0000
http://bitbucket.org/pypy/pypy/changeset/21cd9596d1b4/

Log:    Another test fix

diff --git a/rpython/jit/backend/llsupport/rewrite.py 
b/rpython/jit/backend/llsupport/rewrite.py
--- a/rpython/jit/backend/llsupport/rewrite.py
+++ b/rpython/jit/backend/llsupport/rewrite.py
@@ -205,7 +205,7 @@
         # The checked value is also in the failargs.  The front-end
         # tries not to produce it, but doesn't always succeed (and
         # it's hard to test all cases).  Rewrite it away.
-        value = (opnum == rop.GUARD_FALSE)
+        value = int(opnum == rop.GUARD_FALSE)
         op1 = ResOperation(rop.SAME_AS_I, [ConstInt(value)])
         op1.setint(value)
         self.emit_op(op1)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to