Author: hager <sven.ha...@uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r51194:d1b7f8e3b929
Date: 2012-01-10 11:37 +0100
http://bitbucket.org/pypy/pypy/changeset/d1b7f8e3b929/

Log:    (bivab, hager): fix offset to stack parameters

diff --git a/pypy/jit/backend/ppc/ppcgen/regalloc.py 
b/pypy/jit/backend/ppc/ppcgen/regalloc.py
--- a/pypy/jit/backend/ppc/ppcgen/regalloc.py
+++ b/pypy/jit/backend/ppc/ppcgen/regalloc.py
@@ -161,7 +161,7 @@
         arg_index = 0
         count = 0
         n_register_args = len(r.PARAM_REGS)
-        cur_frame_pos = -self.assembler.OFFSET_STACK_ARGS // WORD + 1
+        cur_frame_pos = -self.assembler.OFFSET_STACK_ARGS // WORD
         for box in inputargs:
             assert isinstance(box, Box)
             # handle inputargs in argument registers
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to