[pypy-commit] pypy default: 32-bit fix

arigo noreply at buildbot.pypy.org
Sat Sep 19 10:01:15 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r79703:28be3e83023d
Date: 2015-09-19 10:01 +0200
http://bitbucket.org/pypy/pypy/changeset/28be3e83023d/

Log:	32-bit fix

diff --git a/rpython/jit/metainterp/test/test_executor.py b/rpython/jit/metainterp/test/test_executor.py
--- a/rpython/jit/metainterp/test/test_executor.py
+++ b/rpython/jit/metainterp/test/test_executor.py
@@ -109,7 +109,7 @@
     box2 = boxfloat(222.2)
     fielddescr = FakeFieldDescr()
     _execute_arglist(cpu, None, rop.SETFIELD_GC, [box1, box2], fielddescr)
-    assert cpu.fakesetfield == (box1.getref_base(), box2.getfloat(),
+    assert cpu.fakesetfield == (box1.getref_base(), box2.getfloatstorage(),
                                 fielddescr)
     # arity == 3
     box3 = InputArgInt(33)
@@ -117,7 +117,7 @@
     _execute_arglist(cpu, None, rop.SETARRAYITEM_GC, [box1, box3, box2],
                     arraydescr)
     assert cpu.fakesetarrayitem == (box1.getref_base(), box3.getint(),
-                                    box2.getfloat(), arraydescr)
+                                    box2.getfloatstorage(), arraydescr)
     # cases without descr
     # arity == 1
     box = _execute_arglist(cpu, None, rop.INT_INVERT, [box3])


More information about the pypy-commit mailing list