[pypy-commit] pypy ppc-jit-backend: (bivab, hager): do stack pointer alignment
hager
noreply at buildbot.pypy.org
Mon Dec 12 17:12:19 CET 2011
Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r50432:55b2c881ec01
Date: 2011-12-12 17:11 +0100
http://bitbucket.org/pypy/pypy/changeset/55b2c881ec01/
Log: (bivab, hager): do stack pointer alignment
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
@@ -729,6 +729,10 @@
+ PARAMETER_AREA
+ BACKCHAIN_SIZE * WORD)
+ # align stack pointer
+ while frame_depth % (4 * WORD) != 0:
+ frame_depth += WORD
+
return frame_depth
def materialize_loop(self, looptoken, show):
More information about the pypy-commit
mailing list