Author: Armin Rigo <[email protected]>
Branch: continulet-jit-3
Changeset: r58144:d1f619c8a44c
Date: 2012-10-16 17:20 +0200
http://bitbucket.org/pypy/pypy/changeset/d1f619c8a44c/

Log:    Add an assert that fails in this branch for now.

diff --git a/pypy/jit/metainterp/test/test_recursive.py 
b/pypy/jit/metainterp/test/test_recursive.py
--- a/pypy/jit/metainterp/test/test_recursive.py
+++ b/pypy/jit/metainterp/test/test_recursive.py
@@ -774,6 +774,9 @@
                            virtualizables = ['frame'],
                            get_printable_location = lambda codeno : 
str(codeno))
 
+        class Oups(Exception):
+            pass
+
         def main(codeno):
             frame = Frame()
             frame.thing = Thing(0)
@@ -790,6 +793,8 @@
                     subframe = Frame()
                     subframe.thing = Thing(nextval)
                     nextval = portal(1, subframe)
+                    if subframe.thing.val != nextval:
+                        raise Oups
                 frame.thing = Thing(nextval + 1)
                 i += 1
             return frame.thing.val
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to