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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 CompilationInfo* const info_; | 172 CompilationInfo* const info_; |
173 Label* const labels_; | 173 Label* const labels_; |
174 RpoNumber current_block_; | 174 RpoNumber current_block_; |
175 SourcePosition current_source_position_; | 175 SourcePosition current_source_position_; |
176 MacroAssembler masm_; | 176 MacroAssembler masm_; |
177 GapResolver resolver_; | 177 GapResolver resolver_; |
178 SafepointTableBuilder safepoints_; | 178 SafepointTableBuilder safepoints_; |
179 ZoneVector<HandlerInfo> handlers_; | 179 ZoneVector<HandlerInfo> handlers_; |
180 ZoneDeque<DeoptimizationState*> deoptimization_states_; | 180 ZoneDeque<DeoptimizationState*> deoptimization_states_; |
181 ZoneDeque<Handle<Object>> deoptimization_literals_; | 181 ZoneDeque<Handle<Object>> deoptimization_literals_; |
| 182 size_t inlined_function_count_; |
182 TranslationBuffer translations_; | 183 TranslationBuffer translations_; |
183 int last_lazy_deopt_pc_; | 184 int last_lazy_deopt_pc_; |
184 JumpTable* jump_tables_; | 185 JumpTable* jump_tables_; |
185 OutOfLineCode* ools_; | 186 OutOfLineCode* ools_; |
186 int osr_pc_offset_; | 187 int osr_pc_offset_; |
187 bool needs_frame_; | 188 bool needs_frame_; |
188 }; | 189 }; |
189 | 190 |
190 } // namespace compiler | 191 } // namespace compiler |
191 } // namespace internal | 192 } // namespace internal |
192 } // namespace v8 | 193 } // namespace v8 |
193 | 194 |
194 #endif // V8_COMPILER_CODE_GENERATOR_H | 195 #endif // V8_COMPILER_CODE_GENERATOR_H |
OLD | NEW |