[pypy-svn] r41994 - pypy/dist/pypy/jit/codegen/ppc
arigo at codespeak.net
arigo at codespeak.net
Tue Apr 10 20:43:02 CEST 2007
Author: arigo
Date: Tue Apr 10 20:43:02 2007
New Revision: 41994
Modified:
pypy/dist/pypy/jit/codegen/ppc/rgenop.py
Log:
Implement genop_cast_int_to_ptr in codegen/ppc too.
Modified: pypy/dist/pypy/jit/codegen/ppc/rgenop.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/ppc/rgenop.py (original)
+++ pypy/dist/pypy/jit/codegen/ppc/rgenop.py Tue Apr 10 20:43:02 2007
@@ -398,6 +398,9 @@
else:
return gv_arg
+ def genop_cast_int_to_ptr(self, ptrkindtoken, gv_int):
+ return gv_int
+
## def genop_debug_pdb(self): # may take an args_gv later
def genop_get_frame_base(self):
@@ -1111,7 +1114,6 @@
return self._compare('eq', gv_arg, self.rgenop.genconst(0))
op_cast_ptr_to_int = _identity
- op_cast_int_to_ptr = _identity
# ... address operations ...
More information about the Pypy-commit
mailing list