[pypy-commit] pypy improve-heap-caching-tracing: add slightly theoretical XXX

cfbolz noreply at buildbot.pypy.org
Mon Sep 12 10:51:35 CEST 2011


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: improve-heap-caching-tracing
Changeset: r47212:b4778788d50b
Date: 2011-09-08 22:09 +0200
http://bitbucket.org/pypy/pypy/changeset/b4778788d50b/

Log:	add slightly theoretical XXX

diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py
--- a/pypy/jit/metainterp/heapcache.py
+++ b/pypy/jit/metainterp/heapcache.py
@@ -49,6 +49,8 @@
                 if argboxes[2] in self.new_boxes:
                     # XXX: no descr here so we invalidate any of them, not just
                     # of the correct type
+                    # XXX: in theory the indices of the copy could be looked at
+                    # as well
                     for descr, cache in self.heap_array_cache.iteritems():
                         for idx, cache in cache.iteritems():
                             for frombox in cache.keys():


More information about the pypy-commit mailing list