[pypy-commit] pypy continulet-jit-2: Fix on 32-bit.

arigo noreply at buildbot.pypy.org
Thu Mar 1 17:11:52 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: continulet-jit-2
Changeset: r53060:75ac3cc2736a
Date: 2012-03-01 16:49 +0100
http://bitbucket.org/pypy/pypy/changeset/75ac3cc2736a/

Log:	Fix on 32-bit.

diff --git a/pypy/jit/backend/x86/assembler.py b/pypy/jit/backend/x86/assembler.py
--- a/pypy/jit/backend/x86/assembler.py
+++ b/pypy/jit/backend/x86/assembler.py
@@ -2015,7 +2015,7 @@
         # XXX
         if IS_X86_32:
             mc.PUSH_r(ebx.value)
-            extra_esp += 1
+            extra_esp += WORD
         elif IS_X86_64:
             mc.MOV_rr(edi.value, ebx.value)
         else:


More information about the pypy-commit mailing list