Author: hager <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit