[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSGraph.h

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 8 13:04:23 PST 2004



Changes in directory llvm/include/llvm/Analysis/DataStructure:

DSGraph.h updated: 1.81 -> 1.82
---
Log message:

Move method out of line


---
Diffs of the changes:  (+1 -4)

Index: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.81 llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.82
--- llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.81	Wed Jul  7 01:29:26 2004
+++ llvm/include/llvm/Analysis/DataStructure/DSGraph.h	Wed Dec  8 15:04:10 2004
@@ -372,10 +372,7 @@
     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;






More information about the llvm-commits mailing list