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 #ifndef V8_COMPILER_SCHEDULE_H_ | 5 #ifndef V8_COMPILER_SCHEDULE_H_ |
6 #define V8_COMPILER_SCHEDULE_H_ | 6 #define V8_COMPILER_SCHEDULE_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 void SetControlInput(BasicBlock* block, Node* node); | 259 void SetControlInput(BasicBlock* block, Node* node); |
260 void SetBlockForNode(BasicBlock* block, Node* node); | 260 void SetBlockForNode(BasicBlock* block, Node* node); |
261 | 261 |
262 Zone* zone_; | 262 Zone* zone_; |
263 BasicBlockVector all_blocks_; // All basic blocks in the schedule. | 263 BasicBlockVector all_blocks_; // All basic blocks in the schedule. |
264 BasicBlockVector nodeid_to_block_; // Map from node to containing block. | 264 BasicBlockVector nodeid_to_block_; // Map from node to containing block. |
265 BasicBlockVector rpo_order_; // Reverse-post-order block list. | 265 BasicBlockVector rpo_order_; // Reverse-post-order block list. |
266 BasicBlock* start_; | 266 BasicBlock* start_; |
267 BasicBlock* end_; | 267 BasicBlock* end_; |
| 268 |
| 269 DISALLOW_COPY_AND_ASSIGN(Schedule); |
268 }; | 270 }; |
269 | 271 |
270 std::ostream& operator<<(std::ostream& os, const Schedule& s); | 272 std::ostream& operator<<(std::ostream& os, const Schedule& s); |
271 | 273 |
272 } // namespace compiler | 274 } // namespace compiler |
273 } // namespace internal | 275 } // namespace internal |
274 } // namespace v8 | 276 } // namespace v8 |
275 | 277 |
276 #endif // V8_COMPILER_SCHEDULE_H_ | 278 #endif // V8_COMPILER_SCHEDULE_H_ |
OLD | NEW |