From 7e6d70a4251e66b7cf28a5c1282e1e1f49eebbfb Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Wed, 26 Nov 2008 22:59:45 +0000 Subject: Disallow multiple edges. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60127 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CompilerDriver/CompilationGraph.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/llvm/CompilerDriver/CompilationGraph.h') diff --git a/include/llvm/CompilerDriver/CompilationGraph.h b/include/llvm/CompilerDriver/CompilationGraph.h index f3c31ab..029623f 100644 --- a/include/llvm/CompilerDriver/CompilationGraph.h +++ b/include/llvm/CompilerDriver/CompilationGraph.h @@ -83,8 +83,7 @@ namespace llvmc { /// AddEdge - Add an outward edge. Takes ownership of the provided /// Edge object. - void AddEdge(Edge* E) - { OutEdges.push_back(llvm::IntrusiveRefCntPtr(E)); } + void AddEdge(Edge* E); // Inward edge counter. Used to implement topological sort. void IncrInEdges() { ++InEdges; } -- cgit v1.1