| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_CODE_GENERATOR_H_ | 5 #ifndef V8_COMPILER_CODE_GENERATOR_H_ |
| 6 #define V8_COMPILER_CODE_GENERATOR_H_ | 6 #define V8_COMPILER_CODE_GENERATOR_H_ |
| 7 | 7 |
| 8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
| 9 #include "src/compiler/instruction.h" | 9 #include "src/compiler/instruction.h" |
| 10 #include "src/deoptimizer.h" | 10 #include "src/deoptimizer.h" |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 int pc_offset; | 165 int pc_offset; |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 friend class OutOfLineCode; | 168 friend class OutOfLineCode; |
| 169 | 169 |
| 170 Frame* const frame_; | 170 Frame* const frame_; |
| 171 Linkage* const linkage_; | 171 Linkage* const linkage_; |
| 172 InstructionSequence* const code_; | 172 InstructionSequence* const code_; |
| 173 CompilationInfo* const info_; | 173 CompilationInfo* const info_; |
| 174 Label* const labels_; | 174 Label* const labels_; |
| 175 Label return_label_; |
| 175 RpoNumber current_block_; | 176 RpoNumber current_block_; |
| 176 SourcePosition current_source_position_; | 177 SourcePosition current_source_position_; |
| 177 MacroAssembler masm_; | 178 MacroAssembler masm_; |
| 178 GapResolver resolver_; | 179 GapResolver resolver_; |
| 179 SafepointTableBuilder safepoints_; | 180 SafepointTableBuilder safepoints_; |
| 180 ZoneVector<HandlerInfo> handlers_; | 181 ZoneVector<HandlerInfo> handlers_; |
| 181 ZoneDeque<DeoptimizationState*> deoptimization_states_; | 182 ZoneDeque<DeoptimizationState*> deoptimization_states_; |
| 182 ZoneDeque<Handle<Object>> deoptimization_literals_; | 183 ZoneDeque<Handle<Object>> deoptimization_literals_; |
| 183 size_t inlined_function_count_; | 184 size_t inlined_function_count_; |
| 184 TranslationBuffer translations_; | 185 TranslationBuffer translations_; |
| 185 int last_lazy_deopt_pc_; | 186 int last_lazy_deopt_pc_; |
| 186 JumpTable* jump_tables_; | 187 JumpTable* jump_tables_; |
| 187 OutOfLineCode* ools_; | 188 OutOfLineCode* ools_; |
| 188 int osr_pc_offset_; | 189 int osr_pc_offset_; |
| 189 bool needs_frame_; | 190 bool needs_frame_; |
| 190 }; | 191 }; |
| 191 | 192 |
| 192 } // namespace compiler | 193 } // namespace compiler |
| 193 } // namespace internal | 194 } // namespace internal |
| 194 } // namespace v8 | 195 } // namespace v8 |
| 195 | 196 |
| 196 #endif // V8_COMPILER_CODE_GENERATOR_H | 197 #endif // V8_COMPILER_CODE_GENERATOR_H |
| OLD | NEW |