Author: Hakan Ardo <[email protected]>
Branch: 
Changeset: r54966:eefc3ac79e9f
Date: 2012-05-08 19:44 +0200
http://bitbucket.org/pypy/pypy/changeset/eefc3ac79e9f/

Log:    Failing test. With OptRewrite disabled, the resulting trace might
        contain guard_false(0) which makes the x86 backend crash as there is
        no TEST_ii (This is starting to get ridiculous: I set out do make a
        one-line bugfix and 15 commits and 2651 tests later things are still
        not working properly).

diff --git a/pypy/jit/backend/x86/test/test_loop_unroll.py 
b/pypy/jit/backend/x86/test/test_loop_unroll.py
--- a/pypy/jit/backend/x86/test/test_loop_unroll.py
+++ b/pypy/jit/backend/x86/test/test_loop_unroll.py
@@ -6,3 +6,10 @@
     # for the individual tests see
     # ====> ../../../metainterp/test/test_loop.py
     pass
+
+class TestLoopNoRewrite(test_loop_unroll.LoopUnrollTest, Jit386Mixin):
+    enable_opts = 'intbounds:virtualize:string:earlyforce:pure:heap:ffi:unroll'
+    def check_resops(self, *args, **kwargs):
+        pass
+    def check_trace_count(self, count):
+        pass
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to