OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <deque> | 5 #include <deque> |
6 #include <queue> | 6 #include <queue> |
7 | 7 |
8 #include "src/compiler/scheduler.h" | 8 #include "src/compiler/scheduler.h" |
9 | 9 |
| 10 #include "src/bit-vector.h" |
10 #include "src/compiler/graph.h" | 11 #include "src/compiler/graph.h" |
11 #include "src/compiler/graph-inl.h" | 12 #include "src/compiler/graph-inl.h" |
12 #include "src/compiler/node.h" | 13 #include "src/compiler/node.h" |
13 #include "src/compiler/node-properties.h" | 14 #include "src/compiler/node-properties.h" |
14 #include "src/compiler/node-properties-inl.h" | 15 #include "src/compiler/node-properties-inl.h" |
15 #include "src/data-flow.h" | |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 namespace compiler { | 19 namespace compiler { |
20 | 20 |
21 static inline void Trace(const char* msg, ...) { | 21 static inline void Trace(const char* msg, ...) { |
22 if (FLAG_trace_turbo_scheduler) { | 22 if (FLAG_trace_turbo_scheduler) { |
23 va_list arguments; | 23 va_list arguments; |
24 va_start(arguments, msg); | 24 va_start(arguments, msg); |
25 base::OS::VPrint(msg, arguments); | 25 base::OS::VPrint(msg, arguments); |
(...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1371 for (NodeVectorIter i = nodes->begin(); i != nodes->end(); ++i) { | 1371 for (NodeVectorIter i = nodes->begin(); i != nodes->end(); ++i) { |
1372 schedule_->SetBlockForNode(to, *i); | 1372 schedule_->SetBlockForNode(to, *i); |
1373 scheduled_nodes_[to->id().ToSize()].push_back(*i); | 1373 scheduled_nodes_[to->id().ToSize()].push_back(*i); |
1374 } | 1374 } |
1375 nodes->clear(); | 1375 nodes->clear(); |
1376 } | 1376 } |
1377 | 1377 |
1378 } // namespace compiler | 1378 } // namespace compiler |
1379 } // namespace internal | 1379 } // namespace internal |
1380 } // namespace v8 | 1380 } // namespace v8 |
OLD | NEW |