[pypy-commit] pypy default: passing test

hakanardo noreply at buildbot.pypy.org
Wed Jan 4 15:48:39 CET 2012


Author: Hakan Ardo <hakan at debian.org>
Branch: 
Changeset: r51016:656cfd21d520
Date: 2012-01-04 11:27 +0100
http://bitbucket.org/pypy/pypy/changeset/656cfd21d520/

Log:	passing test

diff --git a/pypy/jit/metainterp/optimizeopt/test/test_multilabel.py b/pypy/jit/metainterp/optimizeopt/test/test_multilabel.py
--- a/pypy/jit/metainterp/optimizeopt/test/test_multilabel.py
+++ b/pypy/jit/metainterp/optimizeopt/test/test_multilabel.py
@@ -442,6 +442,22 @@
         """
         self.optimize_loop(ops, expected)
 
+    def test_optimizer_renaming_boxes_not_imported(self):
+        ops = """
+        [p1]
+        i1 = strlen(p1)
+        label(p1)
+        jump(p1)
+        """
+        expected = """
+        [p1]
+        i1 = strlen(p1)
+        label(p1, i1)
+        i11 = same_as(i1)
+        jump(p1, i11)
+        """
+        self.optimize_loop(ops, expected)
+
         
 
 class TestLLtype(OptimizeoptTestMultiLabel, LLtypeMixin):


More information about the pypy-commit mailing list