Commits

Sven Hager committed cffb953

CAST_INT_TO_PTR, CAST_PTR_TO_INT.

Comments (0)

Files changed (2)

pypy/jit/backend/ppc/ppcgen/opassembler.py

         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
 

pypy/jit/backend/ppc/ppcgen/regalloc.py

         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 []