[pypy-commit] pypy default: Fix some tests on Windows (does not appear after translation)
arigo
noreply at buildbot.pypy.org
Sat Aug 30 15:00:03 CEST 2014
Author: Armin Rigo <arigo at 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)
More information about the pypy-commit
mailing list