Permit CallGraphSCCPasses readonly access to the direct callers of the functions

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

llvm-svn: 122734
This commit is contained in:
Nick Lewycky 2011-01-03 04:01:44 +00:00
parent 4b9a525742
commit 00f1b801b1
1 changed files with 2 additions and 2 deletions

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>