Author: Armin Rigo <[email protected]>
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 .*>)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to