Author: Maciej Fijalkowski <[email protected]>
Branch: jitframe-on-heap
Changeset: r60860:a0fb5ba3e4c2
Date: 2013-02-04 11:44 +0200
http://bitbucket.org/pypy/pypy/changeset/a0fb5ba3e4c2/

Log:    one fix

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -243,8 +243,7 @@
         # the arg is already in edi
         if hasattr(self.cpu.gc_ll_descr, 'passes_frame'):
             # for tests only
-            base_ofs = self.cpu.get_baseofs_of_frame_field()
-            mc.LEA_rb(esi.value, -base_ofs)
+            mc.MOV_rr(esi.value, ebp.value)
         mc.SUB_ri(esp.value, 16 - WORD)
         mc.CALL(imm(addr))
         mc.ADD_ri(esp.value, 16 - WORD)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to