| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_ | 5 #ifndef V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_ |
| 6 #define V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_ | 6 #define V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_ |
| 7 | 7 |
| 8 #include "src/interpreter/bytecode-pipeline.h" | 8 #include "src/interpreter/bytecode-pipeline.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 const Register temporary_base_; | 129 const Register temporary_base_; |
| 130 | 130 |
| 131 // Direct mapping to register info. | 131 // Direct mapping to register info. |
| 132 ZoneVector<RegisterInfo*> register_info_table_; | 132 ZoneVector<RegisterInfo*> register_info_table_; |
| 133 int register_info_table_offset_; | 133 int register_info_table_offset_; |
| 134 | 134 |
| 135 // Counter for equivalence sets identifiers. | 135 // Counter for equivalence sets identifiers. |
| 136 int equivalence_id_; | 136 int equivalence_id_; |
| 137 | 137 |
| 138 BytecodePipelineStage* next_stage_; | 138 BytecodePipelineStage* next_stage_; |
| 139 bool flushed_; | 139 bool flush_required_; |
| 140 Zone* zone_; | 140 Zone* zone_; |
| 141 | 141 |
| 142 DISALLOW_COPY_AND_ASSIGN(BytecodeRegisterOptimizer); | 142 DISALLOW_COPY_AND_ASSIGN(BytecodeRegisterOptimizer); |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 } // namespace interpreter | 145 } // namespace interpreter |
| 146 } // namespace internal | 146 } // namespace internal |
| 147 } // namespace v8 | 147 } // namespace v8 |
| 148 | 148 |
| 149 #endif // V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_ | 149 #endif // V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_ |
| OLD | NEW |