Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r80612:6eddbb5218e6
Date: 2015-11-09 13:51 +0100
http://bitbucket.org/pypy/pypy/changeset/6eddbb5218e6/

Log:    Fix for test_random

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
@@ -207,6 +207,7 @@
         # it's hard to test all cases).  Rewrite it away.
         value = (opnum == rop.GUARD_FALSE)
         op1 = ResOperation(rop.SAME_AS_I, [ConstInt(value)])
+        op1.setint(value)
         self.emit_op(op1)
         lst = op.getfailargs()[:]
         lst[i] = op1
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to