Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r48519:cffb9538d307
Date: 2011-10-27 19:05 +0200
http://bitbucket.org/pypy/pypy/changeset/cffb9538d307/
Log: CAST_INT_TO_PTR, CAST_PTR_TO_INT.
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
@@ -440,6 +440,9 @@
argloc, resloc = arglocs
self.regalloc_mov(argloc, resloc)
+ emit_cast_ptr_to_int = emit_same_as
+ emit_cast_int_to_ptr = emit_same_as
+
def emit_debug_merge_point(self, op, arglocs, regalloc):
pass
diff --git a/pypy/jit/backend/ppc/ppcgen/regalloc.py
b/pypy/jit/backend/ppc/ppcgen/regalloc.py
--- a/pypy/jit/backend/ppc/ppcgen/regalloc.py
+++ b/pypy/jit/backend/ppc/ppcgen/regalloc.py
@@ -539,6 +539,9 @@
self.possibly_free_var(op.result)
return [argloc, resloc]
+ prepare_cast_ptr_to_int = prepare_same_as
+ prepare_cast_int_to_ptr = prepare_same_as
+
def void(self, op):
return []
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit