[pypy-commit] pypy default: fix a failing test

alex_gaynor noreply at buildbot.pypy.org
Sat Mar 24 17:12:40 CET 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r53962:40fccb9514b8
Date: 2012-03-24 12:06 -0400
http://bitbucket.org/pypy/pypy/changeset/40fccb9514b8/

Log:	fix a failing test

diff --git a/pypy/rpython/lltypesystem/opimpl.py b/pypy/rpython/lltypesystem/opimpl.py
--- a/pypy/rpython/lltypesystem/opimpl.py
+++ b/pypy/rpython/lltypesystem/opimpl.py
@@ -427,6 +427,10 @@
 ##    assert type(x) is int
 ##    return llmemory.cast_int_to_adr(x)
 
+def op_convert_float_bytes_to_longlong(a):
+    from pypy.rlib.longlong2float import float2longlong
+    return float2longlong(a)
+
 
 def op_unichar_eq(x, y):
     assert isinstance(x, unicode) and len(x) == 1


More information about the pypy-commit mailing list