From: Chris Lattner Date: Wed, 8 Dec 2004 21:04:10 +0000 (+0000) Subject: Move method out of line X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=833408d484acecc2c6ab71baef76f846d69f5388;p=oota-llvm.git Move method out of line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18666 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index 81c12fcad65..101b6547a02 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -372,10 +372,7 @@ public: assert((!N || N->getParentGraph() == this) && "AssertNodeInGraph: Node is not in graph!"); } - void AssertNodeContainsGlobal(const DSNode *N, GlobalValue *GV) const { - assert(std::find(N->getGlobals().begin(), N->getGlobals().end(), GV) != - N->getGlobals().end() && "Global value not in node!"); - } + void AssertNodeContainsGlobal(const DSNode *N, GlobalValue *GV) const; void AssertCallSiteInGraph(const DSCallSite &CS) const; void AssertCallNodesInGraph() const;