| 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-containers.h" |
| 10 | 10 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 // which will be added as predecessors of the next instruction with side | 202 // which will be added as predecessors of the next instruction with side |
| 203 // effects. | 203 // effects. |
| 204 ZoneVector<ScheduleGraphNode*> pending_loads_; | 204 ZoneVector<ScheduleGraphNode*> pending_loads_; |
| 205 | 205 |
| 206 // Live-in register markers are nop instructions which are emitted at the | 206 // Live-in register markers are nop instructions which are emitted at the |
| 207 // beginning of a basic block so that the register allocator will find a | 207 // beginning of a basic block so that the register allocator will find a |
| 208 // defining instruction for live-in values. They must not be moved. | 208 // defining instruction for live-in values. They must not be moved. |
| 209 // All these nops are chained together and added as a predecessor of every | 209 // All these nops are chained together and added as a predecessor of every |
| 210 // other instructions in the basic block. | 210 // other instructions in the basic block. |
| 211 ScheduleGraphNode* last_live_in_reg_marker_; | 211 ScheduleGraphNode* last_live_in_reg_marker_; |
| 212 |
| 213 // Last deoptimization instruction encountered while building the graph. |
| 214 ScheduleGraphNode* last_deopt_; |
| 212 }; | 215 }; |
| 213 | 216 |
| 214 } // namespace compiler | 217 } // namespace compiler |
| 215 } // namespace internal | 218 } // namespace internal |
| 216 } // namespace v8 | 219 } // namespace v8 |
| 217 | 220 |
| 218 #endif // V8_COMPILER_INSTRUCTION_SCHEDULER_H_ | 221 #endif // V8_COMPILER_INSTRUCTION_SCHEDULER_H_ |
| OLD | NEW |