Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r45982:1b29e7b1fdac
Date: 2011-07-24 19:31 +0200
http://bitbucket.org/pypy/pypy/changeset/1b29e7b1fdac/

Log:    nonconstnat index getarrayitem_gc_pure no longer moved across loop
        boundaries as that might require a bound check

diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py 
b/pypy/module/pypyjit/test_pypy_c/test_call.py
--- a/pypy/module/pypyjit/test_pypy_c/test_call.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_call.py
@@ -205,6 +205,7 @@
         assert log.result == 1000
         loop, = log.loops_by_id('call')
         assert loop.match_by_id('call', """
+            p14 = getarrayitem_gc_pure(p8, i9, descr=<GcPtrArrayDescr>)
             i14 = force_token()
             i16 = force_token()
         """)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to