[pypy-commit] pypy ppc-jit-backend: cast address

hager noreply at buildbot.pypy.org
Tue Feb 28 16:45:22 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r52990:cd8f4bce191a
Date: 2012-02-28 16:44 +0100
http://bitbucket.org/pypy/pypy/changeset/cd8f4bce191a/

Log:	cast address

diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py
--- a/pypy/jit/backend/ppc/ppc_assembler.py
+++ b/pypy/jit/backend/ppc/ppc_assembler.py
@@ -334,7 +334,7 @@
         addr = self.cpu.gc_ll_descr.get_malloc_slowpath_addr()
         for reg, ofs in PPCRegisterManager.REGLOC_TO_COPY_AREA_OFS.items():
             mc.store(reg.value, r.SPP.value, ofs)
-        mc.call(addr)
+        mc.call(rffi.cast(lltype.Signed, addr))
         for reg, ofs in PPCRegisterManager.REGLOC_TO_COPY_AREA_OFS.items():
             mc.load(reg.value, r.SPP.value, ofs)
 


More information about the pypy-commit mailing list