| 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_SCHEDULER_H_ | 5 #ifndef V8_COMPILER_SCHEDULER_H_ |
| 6 #define V8_COMPILER_SCHEDULER_H_ | 6 #define V8_COMPILER_SCHEDULER_H_ |
| 7 | 7 |
| 8 #include <vector> | |
| 9 | |
| 10 #include "src/v8.h" | 8 #include "src/v8.h" |
| 11 | 9 |
| 12 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
| 13 #include "src/compiler/schedule.h" | 11 #include "src/compiler/schedule.h" |
| 14 #include "src/zone-allocator.h" | |
| 15 #include "src/zone-containers.h" | 12 #include "src/zone-containers.h" |
| 16 | 13 |
| 17 namespace v8 { | 14 namespace v8 { |
| 18 namespace internal { | 15 namespace internal { |
| 19 namespace compiler { | 16 namespace compiler { |
| 20 | 17 |
| 21 // Computes a schedule from a graph, placing nodes into basic blocks and | 18 // Computes a schedule from a graph, placing nodes into basic blocks and |
| 22 // ordering the basic blocks in the special RPO order. | 19 // ordering the basic blocks in the special RPO order. |
| 23 class Scheduler { | 20 class Scheduler { |
| 24 public: | 21 public: |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void PrepareUses(); | 65 void PrepareUses(); |
| 69 | 66 |
| 70 friend class ScheduleLateNodeVisitor; | 67 friend class ScheduleLateNodeVisitor; |
| 71 void ScheduleLate(); | 68 void ScheduleLate(); |
| 72 }; | 69 }; |
| 73 } | 70 } |
| 74 } | 71 } |
| 75 } // namespace v8::internal::compiler | 72 } // namespace v8::internal::compiler |
| 76 | 73 |
| 77 #endif // V8_COMPILER_SCHEDULER_H_ | 74 #endif // V8_COMPILER_SCHEDULER_H_ |
| OLD | NEW |