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/compiler/unwinding-info-writer.h" | 10 #include "src/compiler/unwinding-info-writer.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 DeoptimizeReason reason() const { return reason_; } | 243 DeoptimizeReason reason() const { return reason_; } |
244 | 244 |
245 private: | 245 private: |
246 BailoutId bailout_id_; | 246 BailoutId bailout_id_; |
247 int translation_id_; | 247 int translation_id_; |
248 int pc_offset_; | 248 int pc_offset_; |
249 DeoptimizeReason reason_; | 249 DeoptimizeReason reason_; |
250 }; | 250 }; |
251 | 251 |
252 struct HandlerInfo { | 252 struct HandlerInfo { |
253 HandlerTable::CatchPrediction catch_prediction; | |
254 Label* handler; | 253 Label* handler; |
255 int pc_offset; | 254 int pc_offset; |
256 }; | 255 }; |
257 | 256 |
258 friend class OutOfLineCode; | 257 friend class OutOfLineCode; |
259 | 258 |
260 FrameAccessState* frame_access_state_; | 259 FrameAccessState* frame_access_state_; |
261 Linkage* const linkage_; | 260 Linkage* const linkage_; |
262 InstructionSequence* const code_; | 261 InstructionSequence* const code_; |
263 UnwindingInfoWriter unwinding_info_writer_; | 262 UnwindingInfoWriter unwinding_info_writer_; |
(...skipping 16 matching lines...) Expand all Loading... |
280 OutOfLineCode* ools_; | 279 OutOfLineCode* ools_; |
281 int osr_pc_offset_; | 280 int osr_pc_offset_; |
282 SourcePositionTableBuilder source_position_table_builder_; | 281 SourcePositionTableBuilder source_position_table_builder_; |
283 }; | 282 }; |
284 | 283 |
285 } // namespace compiler | 284 } // namespace compiler |
286 } // namespace internal | 285 } // namespace internal |
287 } // namespace v8 | 286 } // namespace v8 |
288 | 287 |
289 #endif // V8_COMPILER_CODE_GENERATOR_H | 288 #endif // V8_COMPILER_CODE_GENERATOR_H |
OLD | NEW |