Commits

Amaury Forgeot d'Arc committed a786782

Fix "import pypy.jit.metainterp.test", not sure whether this change is right.

  • Participants
  • Parent commits 9428636
  • Branches real-rffi.INT

Comments (0)

Files changed (2)

File pypy/jit/backend/llgraph/llimpl.py

 
 if longlong.FLOATSTORAGE is lltype.Float:
     s_FloatStorage = annmodel.SomeFloat()
-elif longlong.FLOATSTORAGE is lltype.SignedLongLong:
+elif longlong.FLOATSTORAGE is rffi.LONGLONG:
     s_FloatStorage = annmodel.SomeInteger(knowntype=longlong.r_float_storage)
 else:
     assert 0

File pypy/jit/codewriter/longlong.py

 """
 
 import sys
-from pypy.rpython.lltypesystem import lltype
+from pypy.rpython.lltypesystem import lltype, rffi
 
 
 if sys.maxint > 2147483647:
 
     supports_longlong = True
     r_float_storage = rarithmetic.r_longlong
-    FLOATSTORAGE = lltype.SignedLongLong
+    FLOATSTORAGE = rffi.LONGLONG
 
     getfloatstorage = longlong2float.float2longlong
     getrealfloat    = longlong2float.longlong2float