Index: src/compiler/scheduler.cc |
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc |
index 458c2963b291550ee808ebf6a26fd7ab5e5da46d..bdae2df8db2c0f11d80ee7c9621bb53f32c85a26 100644 |
--- a/src/compiler/scheduler.cc |
+++ b/src/compiler/scheduler.cc |
@@ -256,13 +256,19 @@ class CFGBuilder { |
}; |
+Scheduler::SchedulerData Scheduler::DefaultSchedulerData() { |
+ SchedulerData def = {0, 0, false, false, kUnknown}; |
+ return def; |
+} |
+ |
+ |
Scheduler::Scheduler(Zone* zone, Graph* graph, Schedule* schedule) |
: zone_(zone), |
graph_(graph), |
schedule_(schedule), |
scheduled_nodes_(zone), |
schedule_root_nodes_(zone), |
- node_data_(graph_->NodeCount(), {0, 0, false, false, kUnknown}, zone), |
+ node_data_(graph_->NodeCount(), DefaultSchedulerData(), zone), |
has_floating_control_(false) {} |