From 833408d484acecc2c6ab71baef76f846d69f5388 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Dec 2004 21:04:10 +0000 Subject: [PATCH] Move method out of line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18666 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DataStructure/DSGraph.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;