Index: src/compiler/structured-machine-assembler.cc |
diff --git a/src/compiler/structured-machine-assembler.cc b/src/compiler/structured-machine-assembler.cc |
index dc3ab945580120766d08e99b57ef003f1355d451..7d9ab870ae8b59fcd87c91246289b4484389826f 100644 |
--- a/src/compiler/structured-machine-assembler.cc |
+++ b/src/compiler/structured-machine-assembler.cc |
@@ -28,10 +28,12 @@ StructuredMachineAssembler::StructuredMachineAssembler( |
current_environment_(new (zone()) |
Environment(zone(), schedule()->entry(), false)), |
number_of_variables_(0) { |
+ Node* s = graph->NewNode(common_.Start(parameter_count())); |
+ graph->SetStart(s); |
if (parameter_count() == 0) return; |
parameters_ = zone()->NewArray<Node*>(parameter_count()); |
for (int i = 0; i < parameter_count(); ++i) { |
- parameters_[i] = NewNode(common()->Parameter(i)); |
+ parameters_[i] = NewNode(common()->Parameter(i), graph->start()); |
} |
} |