Move method out of line
authorChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 21:04:10 +0000 (21:04 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 21:04:10 +0000 (21:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18666 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSGraph.h

index 81c12fcad655fcb14368db40921c587eb5d5d579..101b6547a02821951b5fa0b7ee83bd84cddf4c29 100644 (file)
@@ -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;