[pypy-commit] pypy ppc-jit-backend: Make PPC64 _emit_call abi offset clearer.
edelsohn
noreply at buildbot.pypy.org
Tue Nov 22 20:25:01 CET 2011
Author: edelsohn
Branch: ppc-jit-backend
Changeset: r49670:ecee5b13c5e2
Date: 2011-11-22 14:24 -0500
http://bitbucket.org/pypy/pypy/changeset/ecee5b13c5e2/
Log: Make PPC64 _emit_call abi offset clearer.
diff --git a/pypy/jit/backend/ppc/ppcgen/opassembler.py b/pypy/jit/backend/ppc/ppcgen/opassembler.py
--- a/pypy/jit/backend/ppc/ppcgen/opassembler.py
+++ b/pypy/jit/backend/ppc/ppcgen/opassembler.py
@@ -371,7 +371,7 @@
if IS_PPC_32:
abi = 2
else:
- abi = 14
+ abi = 6 + MAX_REG_PARAMS
offset = (abi + i) * WORD
if arg is not None:
self.mc.load_imm(r.r0, arg.value)
More information about the pypy-commit
mailing list