[pypy-svn] r77570 - pypy/branch/jitffi/pypy/jit/metainterp/test

antocuni at codespeak.net antocuni at codespeak.net
Mon Oct 4 15:28:44 CEST 2010


Author: antocuni
Date: Mon Oct  4 15:28:42 2010
New Revision: 77570

Modified:
   pypy/branch/jitffi/pypy/jit/metainterp/test/test_fficall.py
Log:
use rffi.{LONG,DOUBLE} also here


Modified: pypy/branch/jitffi/pypy/jit/metainterp/test/test_fficall.py
==============================================================================
--- pypy/branch/jitffi/pypy/jit/metainterp/test/test_fficall.py	(original)
+++ pypy/branch/jitffi/pypy/jit/metainterp/test/test_fficall.py	Mon Oct  4 15:28:42 2010
@@ -48,7 +48,7 @@
                 func = hint(func, promote=True)
                 argchain = ArgChain()
                 argchain.int(n).float(1.2)
-                n = func.call(argchain, lltype.Signed)
+                n = func.call(argchain, rffi.LONG)
             return n
             
         res = self.meta_interp(f, [0])
@@ -74,7 +74,7 @@
                 func = hint(func, promote=True)
                 argchain = ArgChain()
                 argchain.float(float(-n))
-                res = func.call(argchain, lltype.Float)
+                res = func.call(argchain, rffi.DOUBLE)
                 n += 1
             return res
             



More information about the Pypy-commit mailing list