Author: Richard Plangger <[email protected]>
Branch: vecopt-merge
Changeset: r79053:6750bbcedc0e
Date: 2015-08-19 13:28 +0200
http://bitbucket.org/pypy/pypy/changeset/6750bbcedc0e/
Log: since jump is not scheduled in emit_into anymore it needs correct
treatment
diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py
b/rpython/jit/metainterp/optimizeopt/schedule.py
--- a/rpython/jit/metainterp/optimizeopt/schedule.py
+++ b/rpython/jit/metainterp/optimizeopt/schedule.py
@@ -99,9 +99,11 @@
raise AssertionError("schedule failed cannot continue. possible
reason: cycle")
jump_node = self.graph.nodes[-1]
- assert jump_node.getopnum() == rop.JUMP
- self.sched_data.unpack_from_vector(jump_node.getoperation(), self)
- oplist.append(jump_node.getoperation())
+ jump_op = jump_node.getoperation()
+ renamer.rename(jump_op)
+ assert jump_op.getopnum() == rop.JUMP
+ self.sched_data.unpack_from_vector(jump_op, self)
+ oplist.append(jump_op)
def vectorbox_outof_box(box, count=-1, size=-1, type='-'):
if box.type not in (FLOAT, INT):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit