Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index c02306f11409d58429f6dd35991d8b70860e3a57..17b55237f67fed13373de5e70a4ff5a1301f6625 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -21,10 +21,12 @@ RawMachineAssembler::RawMachineAssembler( |
parameters_(NULL), |
exit_label_(schedule()->exit()), |
current_block_(schedule()->entry()) { |
+ 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()); |
} |
} |