[pypy-commit] pypy arm-backend-2: add cast_ptr_to_int and cast_int_to_ptr

bivab noreply at buildbot.pypy.org
Tue Oct 25 11:07:52 CEST 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r48416:3bae2cc9ba15
Date: 2011-10-24 12:38 +0200
http://bitbucket.org/pypy/pypy/changeset/3bae2cc9ba15/

Log:	add cast_ptr_to_int and cast_int_to_ptr

diff --git a/pypy/jit/backend/arm/opassembler.py b/pypy/jit/backend/arm/opassembler.py
--- a/pypy/jit/backend/arm/opassembler.py
+++ b/pypy/jit/backend/arm/opassembler.py
@@ -408,6 +408,9 @@
         self.mov_loc_loc(argloc, resloc)
         return fcond
 
+    emit_op_cast_ptr_to_int = emit_op_same_as
+    emit_op_cast_int_to_ptr = emit_op_same_as
+
     def emit_op_guard_no_exception(self, op, arglocs, regalloc, fcond):
         loc = arglocs[0]
         failargs = arglocs[1:]


More information about the pypy-commit mailing list