[pypy-commit] pypy arm-backend-2: translation fix

bivab noreply at buildbot.pypy.org
Tue Nov 29 16:47:36 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r49973:cf2af9ba668b
Date: 2011-11-29 16:47 +0100
http://bitbucket.org/pypy/pypy/changeset/cf2af9ba668b/

Log:	translation fix

diff --git a/pypy/jit/backend/arm/assembler.py b/pypy/jit/backend/arm/assembler.py
--- a/pypy/jit/backend/arm/assembler.py
+++ b/pypy/jit/backend/arm/assembler.py
@@ -245,7 +245,7 @@
                 i += 4
                 if group == self.FLOAT_TYPE:
                     value = decode64(stack, frame_depth - stack_loc*WORD)
-                    fvalue = longlong2float(value)
+                    fvalue = rffi.cast(longlong.FLOATSTORAGE, value)
                     self.fail_boxes_float.setitem(fail_index, fvalue)
                     continue
                 else:


More information about the pypy-commit mailing list