X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FAnalysis%2FLazyCallGraph.h;h=7cbc40f768ebcc4a90efe32f1995d799e1ec6211;hb=152b80c1ee088dc65151051ab42e07a8e75c5101;hp=a7960e186142f94fbb56fb7e1cf610c0ce3a4825;hpb=2a463a1060343be8b9f878a0a293492ccbd358bc;p=oota-llvm.git diff --git a/include/llvm/Analysis/LazyCallGraph.h b/include/llvm/Analysis/LazyCallGraph.h index a7960e18614..7cbc40f768e 100644 --- a/include/llvm/Analysis/LazyCallGraph.h +++ b/include/llvm/Analysis/LazyCallGraph.h @@ -190,7 +190,7 @@ public: Function &getFunction() const { return F; - }; + } iterator begin() const { return iterator(*G, Callees.begin(), Callees.end()); @@ -462,12 +462,6 @@ public: ///@} - /// \brief Print out the CFG to the provided stream. - /// - /// This will fully traverse the call graph (and so is non-const) and print - /// it out to the provided stream. - void print(raw_ostream &OS, Module &M); - private: /// \brief Allocator that holds all the call graph nodes. SpecificBumpPtrAllocator BPA;