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 "src/compiler/scheduler.h" | 5 #include "src/compiler/scheduler.h" |
6 | 6 |
7 #include <iomanip> | 7 #include <iomanip> |
8 | 8 |
9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
10 #include "src/bit-vector.h" | 10 #include "src/bit-vector.h" |
11 #include "src/compiler/common-operator.h" | 11 #include "src/compiler/common-operator.h" |
12 #include "src/compiler/control-equivalence.h" | 12 #include "src/compiler/control-equivalence.h" |
13 #include "src/compiler/graph.h" | 13 #include "src/compiler/graph.h" |
14 #include "src/compiler/node.h" | |
15 #include "src/compiler/node-marker.h" | 14 #include "src/compiler/node-marker.h" |
16 #include "src/compiler/node-properties.h" | 15 #include "src/compiler/node-properties.h" |
17 #include "src/zone-containers.h" | 16 #include "src/compiler/node.h" |
| 17 #include "src/zone/zone-containers.h" |
18 | 18 |
19 namespace v8 { | 19 namespace v8 { |
20 namespace internal { | 20 namespace internal { |
21 namespace compiler { | 21 namespace compiler { |
22 | 22 |
23 #define TRACE(...) \ | 23 #define TRACE(...) \ |
24 do { \ | 24 do { \ |
25 if (FLAG_trace_turbo_scheduler) PrintF(__VA_ARGS__); \ | 25 if (FLAG_trace_turbo_scheduler) PrintF(__VA_ARGS__); \ |
26 } while (false) | 26 } while (false) |
27 | 27 |
(...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1745 for (Node* const node : *nodes) { | 1745 for (Node* const node : *nodes) { |
1746 schedule_->SetBlockForNode(to, node); | 1746 schedule_->SetBlockForNode(to, node); |
1747 scheduled_nodes_[to->id().ToSize()].push_back(node); | 1747 scheduled_nodes_[to->id().ToSize()].push_back(node); |
1748 } | 1748 } |
1749 nodes->clear(); | 1749 nodes->clear(); |
1750 } | 1750 } |
1751 | 1751 |
1752 } // namespace compiler | 1752 } // namespace compiler |
1753 } // namespace internal | 1753 } // namespace internal |
1754 } // namespace v8 | 1754 } // namespace v8 |
OLD | NEW |