Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to