diff options
Diffstat (limited to 'include/llvm/CompilerDriver/CompilationGraph.h')
-rw-r--r-- | include/llvm/CompilerDriver/CompilationGraph.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CompilerDriver/CompilationGraph.h b/include/llvm/CompilerDriver/CompilationGraph.h index f3c31ab22c..029623fdc8 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; } |