Index: test/cctest/compiler/graph-tester.h |
diff --git a/test/cctest/compiler/graph-tester.h b/test/cctest/compiler/graph-tester.h |
index 41dfa07345ae94389c2f3e83a555eff574d3f74b..e56924540b386be5426cbb91565c765fba7da699 100644 |
--- a/test/cctest/compiler/graph-tester.h |
+++ b/test/cctest/compiler/graph-tester.h |
@@ -23,8 +23,9 @@ class GraphTester : public HandleAndZoneScope, public Graph { |
class GraphWithStartNodeTester : public GraphTester { |
public: |
- GraphWithStartNodeTester() |
- : builder_(main_zone()), start_node_(NewNode(builder_.Start())) { |
+ explicit GraphWithStartNodeTester(int num_parameters = 0) |
+ : builder_(main_zone()), |
+ start_node_(NewNode(builder_.Start(num_parameters))) { |
SetStart(start_node_); |
} |