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" |
11 #include "src/macro-assembler.h" | 11 #include "src/macro-assembler.h" |
12 #include "src/safepoint-table.h" | 12 #include "src/safepoint-table.h" |
| 13 #include "src/source-position-table.h" |
13 | 14 |
14 namespace v8 { | 15 namespace v8 { |
15 namespace internal { | 16 namespace internal { |
16 namespace compiler { | 17 namespace compiler { |
17 | 18 |
18 // Forward declarations. | 19 // Forward declarations. |
19 class DeoptimizationExit; | 20 class DeoptimizationExit; |
20 class FrameAccessState; | 21 class FrameAccessState; |
21 class Linkage; | 22 class Linkage; |
22 class OutOfLineCode; | 23 class OutOfLineCode; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 ZoneVector<HandlerInfo> handlers_; | 235 ZoneVector<HandlerInfo> handlers_; |
235 ZoneDeque<DeoptimizationExit*> deoptimization_exits_; | 236 ZoneDeque<DeoptimizationExit*> deoptimization_exits_; |
236 ZoneDeque<DeoptimizationState*> deoptimization_states_; | 237 ZoneDeque<DeoptimizationState*> deoptimization_states_; |
237 ZoneDeque<Handle<Object>> deoptimization_literals_; | 238 ZoneDeque<Handle<Object>> deoptimization_literals_; |
238 size_t inlined_function_count_; | 239 size_t inlined_function_count_; |
239 TranslationBuffer translations_; | 240 TranslationBuffer translations_; |
240 int last_lazy_deopt_pc_; | 241 int last_lazy_deopt_pc_; |
241 JumpTable* jump_tables_; | 242 JumpTable* jump_tables_; |
242 OutOfLineCode* ools_; | 243 OutOfLineCode* ools_; |
243 int osr_pc_offset_; | 244 int osr_pc_offset_; |
| 245 SourcePositionTableBuilder source_position_table_builder_; |
244 }; | 246 }; |
245 | 247 |
246 } // namespace compiler | 248 } // namespace compiler |
247 } // namespace internal | 249 } // namespace internal |
248 } // namespace v8 | 250 } // namespace v8 |
249 | 251 |
250 #endif // V8_COMPILER_CODE_GENERATOR_H | 252 #endif // V8_COMPILER_CODE_GENERATOR_H |
OLD | NEW |