Author: Armin Rigo <[email protected]>
Branch: emit-call-x86
Changeset: r64360:03c66c06d7bd
Date: 2013-05-20 12:51 +0200
http://bitbucket.org/pypy/pypy/changeset/03c66c06d7bd/

Log:    Fix :-/ It doesn't fail any test in jit/, but at least it fails the
        test_bug.py just added

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
@@ -170,7 +170,7 @@
             # and 5/7 words as described for asmgcroot.ASM_FRAMEDATA, for a
             # total size of JIT_USE_WORDS.  This structure is found at
             # [ESP+css].
-            css = WORD * (self.current_esp +
+            css = WORD * (-self.current_esp +
                           PASS_ON_MY_FRAME - asmgcroot.JIT_USE_WORDS)
             assert css >= 2
             # Save ebp
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to