[pypy-commit] pypy python-loop-unroll: fix up test

alex_gaynor noreply at buildbot.pypy.org
Thu Jul 18 20:22:02 CEST 2013


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: python-loop-unroll
Changeset: r65466:891944cf894f
Date: 2013-07-18 11:21 -0700
http://bitbucket.org/pypy/pypy/changeset/891944cf894f/

Log:	fix up test

diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/module/pypyjit/test_pypy_c/test_misc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_misc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py
@@ -428,12 +428,13 @@
         log = self.run(main, [300])
         loop, = log.loops_by_filename(self.filepath)
         assert loop.match("""
-        label(..., descr=TargetToken(4370600008))
         i48 = int_lt(i43, i30)
         guard_true(i48, descr=...)
         guard_not_invalidated(descr=...)
         p49 = force_token()
+        --TICK--
+        --TICK--
         i50 = int_add(i43, 1)
         --TICK--
-        jump(..., descr=TargetToken(4370600008))
+        jump(..., descr=...)
         """)


More information about the pypy-commit mailing list