[pypy-svn] r71464 - pypy/branch/debug-vref3/pypy/jit/metainterp
arigo at codespeak.net
arigo at codespeak.net
Wed Feb 24 19:04:48 CET 2010
Author: arigo
Date: Wed Feb 24 19:04:46 2010
New Revision: 71464
Modified:
pypy/branch/debug-vref3/pypy/jit/metainterp/optimizeopt.py
Log:
Fix the failing test.
Modified: pypy/branch/debug-vref3/pypy/jit/metainterp/optimizeopt.py
==============================================================================
--- pypy/branch/debug-vref3/pypy/jit/metainterp/optimizeopt.py (original)
+++ pypy/branch/debug-vref3/pypy/jit/metainterp/optimizeopt.py Wed Feb 24 19:04:46 2010
@@ -1044,6 +1044,9 @@
del self.cached_arrayitems[arraydescr]
except KeyError:
pass
+ if effectinfo.forces_virtual_or_virtualizable:
+ vrefinfo = self.optimizer.metainterp_sd.virtualref_info
+ self.force_lazy_setfield(vrefinfo.descr_forced)
return
self.force_all_lazy_setfields()
elif op.is_final() or (not we_are_translated() and
More information about the Pypy-commit
mailing list