Pull graph.cc too
authorRobert Iannucci <robbie@rail.com>
Mon, 1 Oct 2012 20:58:30 +0000 (13:58 -0700)
committerRobert A Iannucci Jr <iannucci@chromium.org>
Fri, 9 Nov 2012 04:25:39 +0000 (20:25 -0800)
src/graph.cc

index 25b5baf..3550d48 100644 (file)
@@ -316,7 +316,8 @@ bool DependencyScan::LoadDepFile(Edge* edge, string* err) {
     // create one; this makes us not abort if the input is missing,
     // but instead will rebuild in that circumstance.
     if (!node->in_edge()) {
-      Edge* phony_edge = state_->AddEdge(&State::kPhonyRule);
+      Edge* phony_edge = state_->AddEdge(&State::kPhonyRule,
+                                         &State::kDefaultPool);
       node->set_in_edge(phony_edge);
       phony_edge->outputs_.push_back(node);