[pypy-commit] pypy ffi-backend: Fix on 32-bit.

arigo noreply at buildbot.pypy.org
Sat Jul 28 16:04:01 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: ffi-backend
Changeset: r56492:4846f83b94ba
Date: 2012-07-28 16:03 +0200
http://bitbucket.org/pypy/pypy/changeset/4846f83b94ba/

Log:	Fix on 32-bit.

diff --git a/pypy/jit/metainterp/executor.py b/pypy/jit/metainterp/executor.py
--- a/pypy/jit/metainterp/executor.py
+++ b/pypy/jit/metainterp/executor.py
@@ -186,7 +186,7 @@
     if arraydescr.is_array_of_pointers():
         raise AssertionError("cannot store GC pointers in raw store")
     elif arraydescr.is_array_of_floats():
-        cpu.bh_raw_store_f(addr, offset, arraydescr, valuebox.getfloat())
+        cpu.bh_raw_store_f(addr, offset, arraydescr,valuebox.getfloatstorage())
     else:
         cpu.bh_raw_store_i(addr, offset, arraydescr, valuebox.getint())
 


More information about the pypy-commit mailing list