Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index d7dafb6608b538af676bb2f01cef82772d6d7a67..9aca0a6da2395b40cb91846db783fccba4a8b20e 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -531,7 +531,7 @@ struct InstructionSelectionPhase { |
static const char* phase_name() { return "select instructions"; } |
void Run(PipelineData* data, Zone* temp_zone, Linkage* linkage) { |
- InstructionSelector selector(temp_zone, data->graph(), linkage, |
+ InstructionSelector selector(temp_zone, data->graph()->NodeCount(), linkage, |
data->sequence(), data->schedule(), |
data->source_positions()); |
selector.SelectInstructions(); |