[pypy-commit] pypy continulet-jit-2: Fix.
arigo
noreply at buildbot.pypy.org
Fri Mar 2 21:24:42 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: continulet-jit-2
Changeset: r53121:3436f7e6b821
Date: 2012-03-02 15:42 +0000
http://bitbucket.org/pypy/pypy/changeset/3436f7e6b821/
Log: 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
@@ -2282,8 +2282,7 @@
use_words = (2 + max(asmgcroot.INDEX_OF_EBP,
asmgcroot.FRAME_PTR) + 1)
pos = self._regalloc.fm.reserve_location_in_frame(use_words)
- css = get_ebp_ofs(pos + use_words - 1)
- xxxxxxxx # ^^^^
+ css = get_ebp_ofs(pos)
self._regalloc.close_stack_struct = css
# The location where the future CALL will put its return address
# will be [ESP-WORD]. But we can't use that as the next frame's
More information about the pypy-commit
mailing list