Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r73207:c893766bb4b3
Date: 2014-08-30 14:59 +0200
http://bitbucket.org/pypy/pypy/changeset/c893766bb4b3/

Log:    Fix some tests on Windows (does not appear after translation)

diff --git a/rpython/jit/backend/x86/callbuilder.py 
b/rpython/jit/backend/x86/callbuilder.py
--- a/rpython/jit/backend/x86/callbuilder.py
+++ b/rpython/jit/backend/x86/callbuilder.py
@@ -301,6 +301,7 @@
             save_ebp = not self.asm.cpu.gc_ll_descr.is_shadow_stack()
             ofs = WORD * (FRAME_FIXED_SIZE - 1)
             if save_ebp:    # only for testing (or with Boehm)
+                ofs -= self.current_esp
                 self.mc.MOV_sr(ofs, ebp.value)
             self.mc.MOV(ebp, esp)
             self.mc.CALL(self.fnloc)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to