[pypy-svn] r53727 - pypy/branch/io-improvements/pypy/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Sat Apr 12 18:45:20 CEST 2008


Author: fijal
Date: Sat Apr 12 18:45:20 2008
New Revision: 53727

Modified:
   pypy/branch/io-improvements/pypy/rpython/lltypesystem/ll2ctypes.py
Log:
this makes no sense (is inserted automatically anyway)


Modified: pypy/branch/io-improvements/pypy/rpython/lltypesystem/ll2ctypes.py
==============================================================================
--- pypy/branch/io-improvements/pypy/rpython/lltypesystem/ll2ctypes.py	(original)
+++ pypy/branch/io-improvements/pypy/rpython/lltypesystem/ll2ctypes.py	Sat Apr 12 18:45:20 2008
@@ -711,8 +711,6 @@
         RESTYPE = s_RESTYPE.const
         v_arg = hop.inputarg(hop.args_r[1], arg=1)
         TYPE1 = v_arg.concretetype
-        if TYPE1 is llmemory.Address:
-            v_arg = gen_cast(hop.llops, lltype.Ptr(lltype.FixedSizeArray(lltype.Char, 1)), v_arg)
         return gen_cast(hop.llops, RESTYPE, v_arg)
 
 def typecheck_ptradd(T):



More information about the Pypy-commit mailing list