[pypy-svn] r61962 - pypy/branch/pyjitpl5/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Tue Feb 17 10:03:22 CET 2009


Author: fijal
Date: Tue Feb 17 10:03:22 2009
New Revision: 61962

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
Log:
add a comment (not yet failing test) what is wrong


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py	Tue Feb 17 10:03:22 2009
@@ -865,6 +865,9 @@
     storage = guard_op.storage_info
 
     for vtable in storage.allocations:
+        # XXX virtual object that came from the outside (stored on
+        # a virtualizable) has no entry in type_cache, probably
+        # we need to attach some info to guard_class
         sizebox = ConstInt(type_cache.class_size[vtable])
         vtablebox = ConstInt(vtable)
         [instbox] = history.execute_and_record('new_with_vtable',



More information about the Pypy-commit mailing list