Commits

Alex Gaynor committed edd5581

revert this change, it breaks translation

  • Participants
  • Parent commits 8428c36

Comments (0)

Files changed (1)

File pypy/rlib/rstruct/nativefmttable.py

 The table 'native_fmttable' is also used by pypy.module.array.interp_array.
 """
 import struct
-
-from pypy.rlib import jit
-from pypy.rlib.objectmodel import specialize
-from pypy.rlib.rarithmetic import r_singlefloat
 from pypy.rlib.rstruct import standardfmttable as std
 from pypy.rlib.rstruct.error import StructError
 from pypy.rpython.tool import rffi_platform
 from pypy.rpython.lltypesystem import lltype, rffi
+from pypy.rlib.rarithmetic import r_singlefloat
 from pypy.translator.tool.cbuild import ExternalCompilationInfo
+from pypy.rlib.objectmodel import specialize
 
 native_is_bigendian = struct.pack("=i", 1) == struct.pack(">i", 1)
 
 double_buf = lltype.malloc(rffi.DOUBLEP.TO, 1, flavor='raw', immortal=True)
 float_buf = lltype.malloc(rffi.FLOATP.TO, 1, flavor='raw', immortal=True)
 
-@jit.unroll_safe
 def pack_double(fmtiter):
     doubleval = fmtiter.accept_float_arg()
     double_buf[0] = doubleval