Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r70247:08b0b669fc73
Date: 2014-03-24 12:47 +0100
http://bitbucket.org/pypy/pypy/changeset/08b0b669fc73/

Log:    fix this test

diff --git a/rpython/jit/backend/x86/test/test_jump.py 
b/rpython/jit/backend/x86/test/test_jump.py
--- a/rpython/jit/backend/x86/test/test_jump.py
+++ b/rpython/jit/backend/x86/test/test_jump.py
@@ -3,9 +3,10 @@
 from rpython.jit.backend.x86.regalloc import X86FrameManager
 from rpython.jit.backend.x86.jump import remap_frame_layout
 from rpython.jit.backend.x86.jump import remap_frame_layout_mixed
+from rpython.jit.backend.x86.rx86 import SEGMENT_NO
 from rpython.jit.metainterp.history import INT
 
-fm = X86FrameManager(0)
+fm = X86FrameManager(0, SEGMENT_NO)
 frame_pos = fm.frame_pos
 
 class MockAssembler:
@@ -406,8 +407,8 @@
         def regalloc_immedmem2mem(self, x, y):
             print "?????????????????????????"
     def main():
-        srclocs = [FrameLoc(9999, x, 'i') for x,y in CASE]
-        dstlocs = [FrameLoc(9999, y, 'i') for x,y in CASE]
+        srclocs = [FrameLoc(SEGMENT_NO, 9999, x, 'i') for x,y in CASE]
+        dstlocs = [FrameLoc(SEGMENT_NO, 9999, y, 'i') for x,y in CASE]
         remap_frame_layout(FakeAssembler(), srclocs, dstlocs, eax)
     # it works when run directly
     main()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to