[pypy-svn] r74244 - pypy/trunk/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Thu Apr 29 21:35:42 CEST 2010
Author: fijal
Date: Thu Apr 29 21:35:40 2010
New Revision: 74244
Modified:
pypy/trunk/pypy/jit/metainterp/warmspot.py
Log:
To be on the safe side, don't assume entry_point is graphs[0]
Modified: pypy/trunk/pypy/jit/metainterp/warmspot.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/warmspot.py (original)
+++ pypy/trunk/pypy/jit/metainterp/warmspot.py Thu Apr 29 21:35:40 2010
@@ -231,7 +231,7 @@
def check_access_directly_sanity(self, graphs):
from pypy.translator.backendopt.inline import collect_called_graphs
jit_graphs = set(graphs)
- for graph in collect_called_graphs(self.translator.graphs[0],
+ for graph in collect_called_graphs(self.translator.entry_point_graph,
self.translator):
if graph in jit_graphs:
continue
More information about the Pypy-commit
mailing list