From 041ee7e6fa1a04e64371ece9225a984d9a6bdf4b Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 3 Jan 2011 04:01:44 +0000 Subject: [PATCH] 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 --- docs/WritingAnLLVMPass.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index d0aeeec1fc1..357b585b510 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -562,8 +562,8 @@ href="#BasicBlockPass">BasicBlockPass, you should derive from
  • ... not allowed to modify any Functions that are not in the current SCC.
  • -
  • ... not allowed to inspect any Function's other than those in the -current SCC and the direct callees of the SCC.
  • +
  • ... not allowed to inspect any Functions other than those +in the current SCC and the direct callers and direct callees of the SCC.
  • ... required to preserve the current CallGraph object, updating it to reflect any changes made to the program.