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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 270 |
271 void SetControlInput(BasicBlock* block, Node* node); | 271 void SetControlInput(BasicBlock* block, Node* node); |
272 void SetBlockForNode(BasicBlock* block, Node* node); | 272 void SetBlockForNode(BasicBlock* block, Node* node); |
273 | 273 |
274 Zone* zone_; | 274 Zone* zone_; |
275 BasicBlockVector all_blocks_; // All basic blocks in the schedule. | 275 BasicBlockVector all_blocks_; // All basic blocks in the schedule. |
276 BasicBlockVector nodeid_to_block_; // Map from node to containing block. | 276 BasicBlockVector nodeid_to_block_; // Map from node to containing block. |
277 BasicBlockVector rpo_order_; // Reverse-post-order block list. | 277 BasicBlockVector rpo_order_; // Reverse-post-order block list. |
278 BasicBlock* start_; | 278 BasicBlock* start_; |
279 BasicBlock* end_; | 279 BasicBlock* end_; |
| 280 |
| 281 DISALLOW_COPY_AND_ASSIGN(Schedule); |
280 }; | 282 }; |
281 | 283 |
282 std::ostream& operator<<(std::ostream& os, const Schedule& s); | 284 std::ostream& operator<<(std::ostream& os, const Schedule& s); |
283 | 285 |
284 } // namespace compiler | 286 } // namespace compiler |
285 } // namespace internal | 287 } // namespace internal |
286 } // namespace v8 | 288 } // namespace v8 |
287 | 289 |
288 #endif // V8_COMPILER_SCHEDULE_H_ | 290 #endif // V8_COMPILER_SCHEDULE_H_ |
OLD | NEW |