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