Commits

Maciej Fijalkowski committed 8d2c3ae

fix this particular problem, there is a more annoying one ahead

Comments (0)

Files changed (1)

pypy/jit/metainterp/optimizeopt/simplify.py

         if not self.unroll:
             descr = op.getdescr()
             if isinstance(descr, JitCellToken):
-                return self.optimize_JUMP(op)
+                return self.optimize_JUMP(op.copy_and_change(rop.JUMP))
             self.last_label_descr = op.getdescr()
         self.emit_operation(op)