[pypy-commit] pypy default: fix the most obvious 32bit problem

fijal pypy.commits at gmail.com
Sat Mar 26 14:43:57 EDT 2016


Author: fijal
Branch: 
Changeset: r83388:7baba70b412c
Date: 2016-03-26 20:43 +0200
http://bitbucket.org/pypy/pypy/changeset/7baba70b412c/

Log:	fix the most obvious 32bit problem

diff --git a/rpython/jit/metainterp/opencoder.py b/rpython/jit/metainterp/opencoder.py
--- a/rpython/jit/metainterp/opencoder.py
+++ b/rpython/jit/metainterp/opencoder.py
@@ -354,7 +354,7 @@
                 # don't intern float constants
                 self._consts_float += 1
                 v = (len(self._floats) << 1) | 1
-                self._floats.append(box.getfloat())
+                self._floats.append(box.getfloatstorage())
                 return tag(TAGCONSTOTHER, v)
             else:
                 self._consts_ptr += 1


More information about the pypy-commit mailing list