Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r50422:f4618a1f60ba
Date: 2011-12-12 12:04 +0100
http://bitbucket.org/pypy/pypy/changeset/f4618a1f60ba/

Log:    fix wrong computation of stack offset in gen_direct_bootstrap_code

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
@@ -436,7 +436,7 @@
 
         # load values passed on the stack to the corresponding locations
         stack_position = self.OFFSET_SPP_TO_OLD_BACKCHAIN\
-                         + BACKCHAIN_SIZE
+                         + BACKCHAIN_SIZE * WORD
 
         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