summaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-11-26 22:59:45 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-11-26 22:59:45 +0000
commit7e6d70a4251e66b7cf28a5c1282e1e1f49eebbfb (patch)
tree9201c6502cff23ccb0d2aa6bd8ffc1173140e64c /include/llvm
parente21815f41b9deda5fa931606ab90aeca33a80ca2 (diff)
downloadexternal_llvm-7e6d70a4251e66b7cf28a5c1282e1e1f49eebbfb.zip
external_llvm-7e6d70a4251e66b7cf28a5c1282e1e1f49eebbfb.tar.gz
external_llvm-7e6d70a4251e66b7cf28a5c1282e1e1f49eebbfb.tar.bz2
Disallow multiple edges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CompilerDriver/CompilationGraph.h3
1 files changed, 1 insertions, 2 deletions
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<Edge>(E)); }
+ void AddEdge(Edge* E);
// Inward edge counter. Used to implement topological sort.
void IncrInEdges() { ++InEdges; }