[pypy-svn] r68682 - pypy/trunk/pypy/rpython/lltypesystem

antocuni at codespeak.net antocuni at codespeak.net
Wed Oct 21 15:15:29 CEST 2009


Author: antocuni
Date: Wed Oct 21 15:15:29 2009
New Revision: 68682

Modified:
   pypy/trunk/pypy/rpython/lltypesystem/lloperation.py
Log:
add an XXX to remind that an ootype optimization is missing


Modified: pypy/trunk/pypy/rpython/lltypesystem/lloperation.py
==============================================================================
--- pypy/trunk/pypy/rpython/lltypesystem/lloperation.py	(original)
+++ pypy/trunk/pypy/rpython/lltypesystem/lloperation.py	Wed Oct 21 15:15:29 2009
@@ -89,7 +89,7 @@
                 self is llop.debug_assert or   # debug_assert is pure enough
                                                # reading from immutable
                 (self in (llop.getfield, llop.getarrayitem) and
-                 ARGTYPES[0].TO._hints.get('immutable')))
+                 ARGTYPES[0].TO._hints.get('immutable'))) # XXX: what about ootype immutable arrays?
 
     def __repr__(self):
         return '<LLOp %s>' % (getattr(self, 'opname', '?'),)



More information about the Pypy-commit mailing list