aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-08 21:04:10 +0000
committerChris Lattner <sabre@nondot.org>2004-12-08 21:04:10 +0000
commit833408d484acecc2c6ab71baef76f846d69f5388 (patch)
tree47f66fcc7ad28db7a6740d121568b5abf2b10558
parentb29dd0ff2bfbe78e1478a27acbf82ca284011ec6 (diff)
Move method out of line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18666 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index 81c12fcad6..101b6547a0 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;