| 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 bool caught_locally; | 253 HandlerTable::CatchPrediction catch_prediction; |
| 254 Label* handler; | 254 Label* handler; |
| 255 int pc_offset; | 255 int pc_offset; |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 friend class OutOfLineCode; | 258 friend class OutOfLineCode; |
| 259 | 259 |
| 260 FrameAccessState* frame_access_state_; | 260 FrameAccessState* frame_access_state_; |
| 261 Linkage* const linkage_; | 261 Linkage* const linkage_; |
| 262 InstructionSequence* const code_; | 262 InstructionSequence* const code_; |
| 263 UnwindingInfoWriter unwinding_info_writer_; | 263 UnwindingInfoWriter unwinding_info_writer_; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 280 OutOfLineCode* ools_; | 280 OutOfLineCode* ools_; |
| 281 int osr_pc_offset_; | 281 int osr_pc_offset_; |
| 282 SourcePositionTableBuilder source_position_table_builder_; | 282 SourcePositionTableBuilder source_position_table_builder_; |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 } // namespace compiler | 285 } // namespace compiler |
| 286 } // namespace internal | 286 } // namespace internal |
| 287 } // namespace v8 | 287 } // namespace v8 |
| 288 | 288 |
| 289 #endif // V8_COMPILER_CODE_GENERATOR_H | 289 #endif // V8_COMPILER_CODE_GENERATOR_H |
| OLD | NEW |