Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r75241:49a1def6fefd
Date: 2015-01-05 12:00 +0200
http://bitbucket.org/pypy/pypy/changeset/49a1def6fefd/
Log: reinstantiate the check
diff --git a/rpython/jit/metainterp/optimizeopt/util.py
b/rpython/jit/metainterp/optimizeopt/util.py
--- a/rpython/jit/metainterp/optimizeopt/util.py
+++ b/rpython/jit/metainterp/optimizeopt/util.py
@@ -164,6 +164,8 @@
assert op1.result.same_box(remap[op2.result])
else:
remap[op2.result] = op1.result
+ if op1.getopnum() not in [rop.JUMP, rop.LABEL] and not op1.is_guard():
+ assert op1.getdescr() == op2.getdescr()
if op1.getfailargs() or op2.getfailargs():
assert len(op1.getfailargs()) == len(op2.getfailargs())
if strict_fail_args:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit