Author: Alex Gaynor <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit