[pypy-commit] pypy default: Fix: again only look at the "loop" part, ignoring the "preamble" part.

arigo noreply at buildbot.pypy.org
Fri Dec 16 12:40:43 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50604:179263e7dd58
Date: 2011-12-16 11:40 +0000
http://bitbucket.org/pypy/pypy/changeset/179263e7dd58/

Log:	Fix: again only look at the "loop" part, ignoring the "preamble"
	part.

diff --git a/pypy/module/pypyjit/test_pypy_c/test_generators.py b/pypy/module/pypyjit/test_pypy_c/test_generators.py
--- a/pypy/module/pypyjit/test_pypy_c/test_generators.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_generators.py
@@ -24,10 +24,8 @@
         # to the interpreter hoping to immediately run the JITted
         # code; but instead, we Trace again, just because another
         # counter was also about to reach its limit...
-        loop, = log.loops_by_filename(self.filepath, is_entry_bridge='*')
+        loop, = log.loops_by_filename(self.filepath)
         assert loop.match_by_id("generator", """
-            ...
-            label(..., descr=...)
             i16 = force_token()
             p45 = new_with_vtable(ConstClass(W_IntObject))
             setfield_gc(p45, i29, descr=<SignedFieldDescr .*>)


More information about the pypy-commit mailing list