| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 int DefineDeoptimizationLiteral(Handle<Object> literal); | 132 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| 133 FrameStateDescriptor* GetFrameStateDescriptor( | 133 FrameStateDescriptor* GetFrameStateDescriptor( |
| 134 Instruction* instr, size_t frame_access_state_offset); | 134 Instruction* instr, size_t frame_access_state_offset); |
| 135 int BuildTranslation(Instruction* instr, int pc_offset, | 135 int BuildTranslation(Instruction* instr, int pc_offset, |
| 136 size_t frame_access_state_offset, | 136 size_t frame_access_state_offset, |
| 137 OutputFrameStateCombine state_combine); | 137 OutputFrameStateCombine state_combine); |
| 138 void BuildTranslationForFrameStateDescriptor( | 138 void BuildTranslationForFrameStateDescriptor( |
| 139 FrameStateDescriptor* descriptor, Instruction* instr, | 139 FrameStateDescriptor* descriptor, Instruction* instr, |
| 140 Translation* translation, size_t frame_access_state_offset, | 140 Translation* translation, size_t frame_access_state_offset, |
| 141 OutputFrameStateCombine state_combine); | 141 OutputFrameStateCombine state_combine); |
| 142 size_t TranslateStateValueDescriptor(StateValueDescriptor* desc, |
| 143 Translation* translation, |
| 144 Instruction* instr, |
| 145 size_t frame_state_offset); |
| 146 void TranslateFrameStateDescriptorOperands(FrameStateDescriptor* desc, |
| 147 Instruction* instr, |
| 148 size_t frame_state_offset, |
| 149 OutputFrameStateCombine combine, |
| 150 Translation* translation); |
| 142 void AddTranslationForOperand(Translation* translation, Instruction* instr, | 151 void AddTranslationForOperand(Translation* translation, Instruction* instr, |
| 143 InstructionOperand* op, MachineType type); | 152 InstructionOperand* op, MachineType type); |
| 144 void AddNopForSmiCodeInlining(); | 153 void AddNopForSmiCodeInlining(); |
| 145 void EnsureSpaceForLazyDeopt(); | 154 void EnsureSpaceForLazyDeopt(); |
| 146 void MarkLazyDeoptSite(); | 155 void MarkLazyDeoptSite(); |
| 147 | 156 |
| 148 // Converts the delta in the number of stack parameter passed from a tail | 157 // Converts the delta in the number of stack parameter passed from a tail |
| 149 // caller to the callee into the distance (in pointers) the SP must be | 158 // caller to the callee into the distance (in pointers) the SP must be |
| 150 // adjusted, taking frame elision and other relevant factors into | 159 // adjusted, taking frame elision and other relevant factors into |
| 151 // consideration. | 160 // consideration. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 JumpTable* jump_tables_; | 207 JumpTable* jump_tables_; |
| 199 OutOfLineCode* ools_; | 208 OutOfLineCode* ools_; |
| 200 int osr_pc_offset_; | 209 int osr_pc_offset_; |
| 201 }; | 210 }; |
| 202 | 211 |
| 203 } // namespace compiler | 212 } // namespace compiler |
| 204 } // namespace internal | 213 } // namespace internal |
| 205 } // namespace v8 | 214 } // namespace v8 |
| 206 | 215 |
| 207 #endif // V8_COMPILER_CODE_GENERATOR_H | 216 #endif // V8_COMPILER_CODE_GENERATOR_H |
| OLD | NEW |