[pypy-svn] r53503 - pypy/branch/jit-hotpath/pypy/jit/tl

fijal at codespeak.net fijal at codespeak.net
Mon Apr 7 06:03:56 CEST 2008


Author: fijal
Date: Mon Apr  7 06:03:56 2008
New Revision: 53503

Modified:
   pypy/branch/jit-hotpath/pypy/jit/tl/targettiny3hotpath.py
Log:
JIT is not happy seeing float()


Modified: pypy/branch/jit-hotpath/pypy/jit/tl/targettiny3hotpath.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/tl/targettiny3hotpath.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/tl/targettiny3hotpath.py	Mon Apr  7 06:03:56 2008
@@ -32,7 +32,7 @@
         try:
             real_args.append(tiny3.IntBox(int(arg)))
         except ValueError:
-            real_args.append(tiny3.FloatBox(float(arg)))
+            real_args.append(tiny3.FloatBox(tiny3.myfloat(arg)))
     res = tiny3.interpret(bytecode, real_args)
     print tiny3.repr(res)
     return 0



More information about the Pypy-commit mailing list