| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_INSTRUCTION_SCHEDULER_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_SCHEDULER_H_ |
| 6 #define V8_COMPILER_INSTRUCTION_SCHEDULER_H_ | 6 #define V8_COMPILER_INSTRUCTION_SCHEDULER_H_ |
| 7 | 7 |
| 8 #include "src/compiler/instruction.h" | 8 #include "src/compiler/instruction.h" |
| 9 #include "src/zone-containers.h" | 9 #include "src/zone/zone-containers.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 namespace compiler { | 13 namespace compiler { |
| 14 | 14 |
| 15 // A set of flags describing properties of the instructions so that the | 15 // A set of flags describing properties of the instructions so that the |
| 16 // scheduler is aware of dependencies between instructions. | 16 // scheduler is aware of dependencies between instructions. |
| 17 enum ArchOpcodeFlags { | 17 enum ArchOpcodeFlags { |
| 18 kNoOpcodeFlags = 0, | 18 kNoOpcodeFlags = 0, |
| 19 kIsBlockTerminator = 1, // The instruction marks the end of a basic block | 19 kIsBlockTerminator = 1, // The instruction marks the end of a basic block |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // Keep track of definition points for virtual registers. This is used to | 207 // Keep track of definition points for virtual registers. This is used to |
| 208 // record operand dependencies in the scheduling graph. | 208 // record operand dependencies in the scheduling graph. |
| 209 ZoneMap<int32_t, ScheduleGraphNode*> operands_map_; | 209 ZoneMap<int32_t, ScheduleGraphNode*> operands_map_; |
| 210 }; | 210 }; |
| 211 | 211 |
| 212 } // namespace compiler | 212 } // namespace compiler |
| 213 } // namespace internal | 213 } // namespace internal |
| 214 } // namespace v8 | 214 } // namespace v8 |
| 215 | 215 |
| 216 #endif // V8_COMPILER_INSTRUCTION_SCHEDULER_H_ | 216 #endif // V8_COMPILER_INSTRUCTION_SCHEDULER_H_ |
| OLD | NEW |