[pypy-commit] pypy default: from Armin: a fix in the windows case which does only show up on windows

ctismer noreply at buildbot.pypy.org
Wed Mar 14 02:03:02 CET 2012


Author: Christian Tismer <tismer at stackless.com>
Branch: 
Changeset: r53521:26f6f3a8ccfe
Date: 2012-03-13 18:02 -0700
http://bitbucket.org/pypy/pypy/changeset/26f6f3a8ccfe/

Log:	from Armin: a fix in the windows case which does only show up on
	windows

diff --git a/pypy/rpython/lltypesystem/module/ll_math.py b/pypy/rpython/lltypesystem/module/ll_math.py
--- a/pypy/rpython/lltypesystem/module/ll_math.py
+++ b/pypy/rpython/lltypesystem/module/ll_math.py
@@ -114,10 +114,8 @@
 while VERY_LARGE_FLOAT * 100.0 != INFINITY:
     VERY_LARGE_FLOAT *= 64.0
 
-_lib_isnan = rffi.llexternal("_isnan", [lltype.Float], lltype.Signed,
-                             compilation_info=eci)
-_lib_finite = rffi.llexternal("_finite", [lltype.Float], lltype.Signed,
-                             compilation_info=eci)
+_lib_isnan = llexternal("_isnan", [lltype.Float], lltype.Signed)
+_lib_finite = llexternal("_finite", [lltype.Float], lltype.Signed)
 
 def ll_math_isnan(y):
     # By not calling into the external function the JIT can inline this.


More information about the pypy-commit mailing list