[pypy-svn] r78621 - pypy/branch/jit-unroll-loops/pypy/jit/backend/x86/test

arigo at codespeak.net arigo at codespeak.net
Sun Oct 31 15:52:58 CET 2010


Author: arigo
Date: Sun Oct 31 15:52:57 2010
New Revision: 78621

Modified:
   pypy/branch/jit-unroll-loops/pypy/jit/backend/x86/test/test_jump.py
Log:
(hakanardo, arigo)  Kill this test.  The problem was actually that
the dstvalues list contains duplicates.


Modified: pypy/branch/jit-unroll-loops/pypy/jit/backend/x86/test/test_jump.py
==============================================================================
--- pypy/branch/jit-unroll-loops/pypy/jit/backend/x86/test/test_jump.py	(original)
+++ pypy/branch/jit-unroll-loops/pypy/jit/backend/x86/test/test_jump.py	Sun Oct 31 15:52:57 2010
@@ -142,22 +142,3 @@
                              ('push', s12),
                              ('mov', ebx, s12),
                              ('pop', ebx)]
-def test_crash():
-    assembler = MockAssembler()
-    dstvalues = [-56, -64, -72, -80, -88, 15, 14, 15, 13, 12, 15, -96, 
-                 -104, -112, 10, 9, 8, 7, 6, 3, -120, 2, 1]
-    srcvalues = [-56, -64, -72, -80, -88, -224, -216, -224, -248, -232,
-                 -224, -96, -104, -112, -184, -192, -264, 2, -312, -344,
-                 10, 8, 14]
-    print len(dstvalues), len(srcvalues)
-    class MyLocation(AssemblerLocation):
-        def __init__(self, value):
-            self.value = value
-        def location_code(self):
-            return 'b'
-        
-    src = [MyLocation(i) for i in srcvalues]
-    dst = [MyLocation(i) for i in dstvalues]
-        
-    remap_frame_layout(assembler, src, dst, '?')
-    assert assembler.ops == []



More information about the Pypy-commit mailing list