Commits

Hakan Ardo committed 4d40b1d

Dont rename boxes in the label, only their bidnings to values

Comments (0)

Files changed (1)

pypy/jit/metainterp/optimizeopt/unroll.py

             already_killed = {}
             values = [self.getvalue(box).kill_consts(already_killed, self.optimizer)
                       for box in jump_args]
-            stop_label.initarglist([v.get_key_box() for v in values])
+            for i in range(len(jump_args)):
+                self.optimizer.make_equal_to(jump_args[i], values[i], replace=True)
 
     def jump_to_start_label(self, start_label, stop_label):
         if not start_label or not stop_label: