Author: hager <sven.ha...@uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r50278:ba02345dd112
Date: 2011-12-07 18:26 +0100
http://bitbucket.org/pypy/pypy/changeset/ba02345dd112/

Log:    remove bug in computation of frame size

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
@@ -756,7 +756,7 @@
                        + self.ENCODING_AREA
                        + regalloc.frame_manager.frame_depth * WORD
                        + self.max_stack_params * WORD
-                       + BACKCHAIN_SIZE)
+                       + BACKCHAIN_SIZE * WORD)
 
         return frame_depth
     
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to