[pypy-commit] pypy stm-gc: Fix.
noreply at buildbot.pypy.org
Sun Feb 19 16:34:27 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Date: 2012-02-19 16:29 +0100
diff --git a/pypy/translator/stm/gcsource.py b/pypy/translator/stm/gcsource.py
@@ -87,6 +87,12 @@
v1 = None
+ # also add as a callee the graphs that are explicitly callees in the
+ # callgraph. Useful because some graphs may end up not being called
+ # any more, if they were inlined.
+ for _, graph in translator.callgraph.itervalues():
for graph in translator.graphs:
if graph not in was_a_callee:
for v in graph.getargs():
More information about the pypy-commit