[pypy-svn] r62175 - pypy/branch/pyjitpl5/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Thu Feb 26 11:05:03 CET 2009


Author: arigo
Date: Thu Feb 26 11:05:03 2009
New Revision: 62175

Modified:
   pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/ll_str.py
Log:
Some changes from the trunk have been
accidentally lost in r61730.


Modified: pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/ll_str.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/ll_str.py	(original)
+++ pypy/branch/pyjitpl5/pypy/rpython/lltypesystem/ll_str.py	Thu Feb 26 11:05:03 2009
@@ -1,4 +1,5 @@
 from pypy.rpython.lltypesystem.lltype import GcArray, Array, Char, malloc
+from pypy.rpython.annlowlevel import llstr
 from pypy.rlib.rarithmetic import r_uint, formatd
 
 CHAR_ARRAY = GcArray(Char)
@@ -119,5 +120,5 @@
 ll_int2oct._pure_function_ = True
 
 def ll_float_str(repr, f):
-    return formatd("%f", f)
+    return llstr(formatd("%f", f))
 ll_float_str._pure_function_ = True



More information about the Pypy-commit mailing list