[pypy-commit] pypy default: Fix Windows issue left behind by the vmprof branch

arigo noreply at buildbot.pypy.org
Fri May 1 18:32:28 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r76967:906ef372ba4b
Date: 2015-05-01 18:32 +0200
http://bitbucket.org/pypy/pypy/changeset/906ef372ba4b/

Log:	Fix Windows issue left behind by the vmprof branch

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
@@ -221,6 +221,7 @@
             mc.CALL(imm(follow_jump(SetLastError_addr)))
             # restore the stack position without assuming a particular
             # calling convention of _SetLastError()
+            self.mc.stack_frame_size_delta(-WORD)
             self.mc.MOV(esp, self.saved_stack_position_reg)
 
         if save_err & rffi.RFFI_READSAVED_ERRNO:


More information about the pypy-commit mailing list