[pypy-commit] pypy ppc-jit-backend: remove bug in computation of frame size

hager noreply at buildbot.pypy.org
Wed Dec 7 18:27:44 CET 2011


Author: hager <sven.hager at 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
     


More information about the pypy-commit mailing list