Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r50024:eb0fdf36780a
Date: 2011-11-30 18:45 +0100
http://bitbucket.org/pypy/pypy/changeset/eb0fdf36780a/

Log:    fixed offset bug in loading parameters from stack

diff --git a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py 
b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/ppc_assembler.py
@@ -491,7 +491,8 @@
         self.mc.free_scratch_reg()
 
         # load values passed on the stack to the corresponding locations
-        stack_position = self.GPR_SAVE_AREA_AND_FORCE_INDEX
+        stack_position = self.GPR_SAVE_AREA_AND_FORCE_INDEX\
+                         + BACKCHAIN_SIZE
 
         count = 0
         for i in range(reg_args, len(inputargs)):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to