[pypy-svn] pypy default: Oups. Fix.
arigo
commits-noreply at bitbucket.org
Thu Mar 31 13:55:53 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r43043:8edbdba8b135
Date: 2011-03-31 13:54 +0200
http://bitbucket.org/pypy/pypy/changeset/8edbdba8b135/
Log: Oups. Fix.
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
@@ -241,7 +241,9 @@
mc.J_il8(rx86.Conditions['NZ'], 0)
jnz_location = mc.get_relative_pos()
#
- if IS_X86_64:
+ if IS_X86_32:
+ mc.ADD_ri(esp.value, 8)
+ elif IS_X86_64:
# restore the registers
for i in range(7, -1, -1):
mc.MOVSD_xs(i, 8*i)
More information about the Pypy-commit
mailing list