[pypy-svn] r54011 - pypy/branch/io-improvements/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Tue Apr 22 14:19:30 CEST 2008


Author: arigo
Date: Tue Apr 22 14:19:29 2008
New Revision: 54011

Modified:
   pypy/branch/io-improvements/pypy/rpython/rpbc.py
Log:
ll_str'ing a None is needed by test_asmgcroot.py, for some reason.


Modified: pypy/branch/io-improvements/pypy/rpython/rpbc.py
==============================================================================
--- pypy/branch/io-improvements/pypy/rpython/rpbc.py	(original)
+++ pypy/branch/io-improvements/pypy/rpython/rpbc.py	Tue Apr 22 14:19:29 2008
@@ -11,6 +11,7 @@
         mangle, inputdesc, warning, impossible_repr
 from pypy.rpython import rclass
 from pypy.rpython import robject
+from pypy.rpython.annlowlevel import llstr
 
 from pypy.rpython import callparse
 
@@ -605,6 +606,9 @@
     def none_call(self, hop):
         raise TyperError("attempt to call constant None")
 
+    def ll_str(self, none):
+        return llstr("None")
+
     rtype_simple_call = none_call
     rtype_call_args = none_call
 



More information about the Pypy-commit mailing list