Index: test/cctest/compiler/graph-builder-tester.cc |
diff --git a/test/cctest/compiler/graph-builder-tester.cc b/test/cctest/compiler/graph-builder-tester.cc |
index a5b7ecdfec10cc58dfb2c463258b4008c2dd7499..e10c2dcf2cb07f287f0f66479deb83bc8a8d4c1f 100644 |
--- a/test/cctest/compiler/graph-builder-tester.cc |
+++ b/test/cctest/compiler/graph-builder-tester.cc |
@@ -22,9 +22,9 @@ void MachineCallHelper::InitParameters(GraphBuilder* builder, |
DCHECK_EQ(NULL, parameters_); |
graph_ = builder->graph(); |
if (parameter_count() == 0) return; |
- parameters_ = builder->graph()->zone()->NewArray<Node*>(parameter_count()); |
+ parameters_ = graph_->zone()->NewArray<Node*>(parameter_count()); |
for (int i = 0; i < parameter_count(); ++i) { |
- parameters_[i] = builder->NewNode(common->Parameter(i)); |
+ parameters_[i] = builder->NewNode(common->Parameter(i), graph_->start()); |
} |
} |