Permit CallGraphSCCPasses readonly access to the direct callers of the functions

in their SCC as they already have with the direct callees.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-01-03 04:01:44 +00:00
parent 71230acbbe
commit 041ee7e6fa

View File

@ -562,8 +562,8 @@ href="#BasicBlockPass">BasicBlockPass</a></tt>, you should derive from
<li>... <em>not allowed</em> to modify any <tt>Function</tt>s that are not in
the current SCC.</li>
<li>... <em>not allowed</em> to inspect any Function's other than those in the
current SCC and the direct callees of the SCC.</li>
<li>... <em>not allowed</em> to inspect any <tt>Function</tt>s other than those
in the current SCC and the direct callers and direct callees of the SCC.</li>
<li>... <em>required</em> to preserve the current CallGraph object, updating it
to reflect any changes made to the program.</li>