| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 translation_id_(translation_id), | 153 translation_id_(translation_id), |
| 154 pc_offset_(pc_offset) {} | 154 pc_offset_(pc_offset) {} |
| 155 | 155 |
| 156 private: | 156 private: |
| 157 BailoutId bailout_id_; | 157 BailoutId bailout_id_; |
| 158 int translation_id_; | 158 int translation_id_; |
| 159 int pc_offset_; | 159 int pc_offset_; |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 struct HandlerInfo { | 162 struct HandlerInfo { |
| 163 bool caught_locally; |
| 163 Label* handler; | 164 Label* handler; |
| 164 int pc_offset; | 165 int pc_offset; |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 friend class OutOfLineCode; | 168 friend class OutOfLineCode; |
| 168 | 169 |
| 169 Frame* const frame_; | 170 Frame* const frame_; |
| 170 Linkage* const linkage_; | 171 Linkage* const linkage_; |
| 171 InstructionSequence* const code_; | 172 InstructionSequence* const code_; |
| 172 CompilationInfo* const info_; | 173 CompilationInfo* const info_; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 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 |