[pypy-commit] pypy jit-usable_retrace_2: Dont rename boxes in the label, only their bidnings to values

hakanardo noreply at buildbot.pypy.org
Thu Jan 5 18:26:34 CET 2012


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-usable_retrace_2
Changeset: r51031:4d40b1df8e90
Date: 2012-01-04 20:07 +0100
http://bitbucket.org/pypy/pypy/changeset/4d40b1df8e90/

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

diff --git a/pypy/jit/metainterp/optimizeopt/unroll.py b/pypy/jit/metainterp/optimizeopt/unroll.py
--- a/pypy/jit/metainterp/optimizeopt/unroll.py
+++ b/pypy/jit/metainterp/optimizeopt/unroll.py
@@ -157,7 +157,8 @@
             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:


More information about the pypy-commit mailing list