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_MIPS64_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ |
6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS64_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/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 void CallKnownFunction(Handle<JSFunction> function, | 220 void CallKnownFunction(Handle<JSFunction> function, |
221 int formal_parameter_count, int arity, | 221 int formal_parameter_count, int arity, |
222 bool is_tail_call, LInstruction* instr); | 222 bool is_tail_call, LInstruction* instr); |
223 | 223 |
224 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 224 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
225 SafepointMode safepoint_mode); | 225 SafepointMode safepoint_mode); |
226 | 226 |
227 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 227 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
228 Safepoint::DeoptMode mode); | 228 Safepoint::DeoptMode mode); |
229 void DeoptimizeIf(Condition condition, LInstruction* instr, | 229 void DeoptimizeIf(Condition condition, LInstruction* instr, |
230 Deoptimizer::DeoptReason deopt_reason, | 230 DeoptimizeReason deopt_reason, |
231 Deoptimizer::BailoutType bailout_type, | 231 Deoptimizer::BailoutType bailout_type, |
232 Register src1 = zero_reg, | 232 Register src1 = zero_reg, |
233 const Operand& src2 = Operand(zero_reg)); | 233 const Operand& src2 = Operand(zero_reg)); |
234 void DeoptimizeIf( | 234 void DeoptimizeIf(Condition condition, LInstruction* instr, |
235 Condition condition, LInstruction* instr, | 235 DeoptimizeReason deopt_reason = DeoptimizeReason::kNoReason, |
236 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason, | 236 Register src1 = zero_reg, |
237 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg)); | 237 const Operand& src2 = Operand(zero_reg)); |
238 | 238 |
239 void AddToTranslation(LEnvironment* environment, | 239 void AddToTranslation(LEnvironment* environment, |
240 Translation* translation, | 240 Translation* translation, |
241 LOperand* op, | 241 LOperand* op, |
242 bool is_tagged, | 242 bool is_tagged, |
243 bool is_uint32, | 243 bool is_uint32, |
244 int* object_index_pointer, | 244 int* object_index_pointer, |
245 int* dematerialized_index_pointer); | 245 int* dematerialized_index_pointer); |
246 | 246 |
247 Register ToRegister(int index) const; | 247 Register ToRegister(int index) const; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 Label entry_; | 419 Label entry_; |
420 Label exit_; | 420 Label exit_; |
421 Label* external_exit_; | 421 Label* external_exit_; |
422 int instruction_index_; | 422 int instruction_index_; |
423 }; | 423 }; |
424 | 424 |
425 } // namespace internal | 425 } // namespace internal |
426 } // namespace v8 | 426 } // namespace v8 |
427 | 427 |
428 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ | 428 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |