OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
7 | 7 |
8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
9 #include "src/crankshaft/lithium-codegen.h" | 9 #include "src/crankshaft/lithium-codegen.h" |
10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h" | 10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 void CallKnownFunction(Handle<JSFunction> function, | 218 void CallKnownFunction(Handle<JSFunction> function, |
219 int formal_parameter_count, int arity, | 219 int formal_parameter_count, int arity, |
220 bool is_tail_call, LInstruction* instr); | 220 bool is_tail_call, LInstruction* instr); |
221 | 221 |
222 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 222 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
223 SafepointMode safepoint_mode); | 223 SafepointMode safepoint_mode); |
224 | 224 |
225 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 225 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
226 Safepoint::DeoptMode mode); | 226 Safepoint::DeoptMode mode); |
227 void DeoptimizeIf(Condition condition, LInstruction* instr, | 227 void DeoptimizeIf(Condition condition, LInstruction* instr, |
228 Deoptimizer::DeoptReason deopt_reason, | 228 DeoptimizeReason deopt_reason, |
229 Deoptimizer::BailoutType bailout_type, | 229 Deoptimizer::BailoutType bailout_type, |
230 Register src1 = zero_reg, | 230 Register src1 = zero_reg, |
231 const Operand& src2 = Operand(zero_reg)); | 231 const Operand& src2 = Operand(zero_reg)); |
232 void DeoptimizeIf( | 232 void DeoptimizeIf(Condition condition, LInstruction* instr, |
233 Condition condition, LInstruction* instr, | 233 DeoptimizeReason deopt_reason = DeoptimizeReason::kNoReason, |
234 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason, | 234 Register src1 = zero_reg, |
235 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg)); | 235 const Operand& src2 = Operand(zero_reg)); |
236 | 236 |
237 void AddToTranslation(LEnvironment* environment, | 237 void AddToTranslation(LEnvironment* environment, |
238 Translation* translation, | 238 Translation* translation, |
239 LOperand* op, | 239 LOperand* op, |
240 bool is_tagged, | 240 bool is_tagged, |
241 bool is_uint32, | 241 bool is_uint32, |
242 int* object_index_pointer, | 242 int* object_index_pointer, |
243 int* dematerialized_index_pointer); | 243 int* dematerialized_index_pointer); |
244 | 244 |
245 Register ToRegister(int index) const; | 245 Register ToRegister(int index) const; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 Label entry_; | 416 Label entry_; |
417 Label exit_; | 417 Label exit_; |
418 Label* external_exit_; | 418 Label* external_exit_; |
419 int instruction_index_; | 419 int instruction_index_; |
420 }; | 420 }; |
421 | 421 |
422 } // namespace internal | 422 } // namespace internal |
423 } // namespace v8 | 423 } // namespace v8 |
424 | 424 |
425 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 425 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |