Author: Armin Rigo <ar...@tunes.org>
Branch: jit-leaner-frontend
Changeset: r83080:92976799896e
Date: 2016-03-16 11:43 +0100
http://bitbucket.org/pypy/pypy/changeset/92976799896e/

Log:    XXX comment

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
@@ -266,6 +266,8 @@
                 v = self._floats_dict.get(box.getfloat(), -1)
                 if v == -1:
                     v = (len(self._floats) << 1) | 1
+                    # XXX the next line is bogus, can't use a float as
+                    # dict key.  Must convert it first to a longlong
                     self._floats_dict[box.getfloat()] = v
                     self._floats.append(box.getfloat())
                 return tag(TAGCONSTOTHER, v)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to