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_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
7 | 7 |
8 #include "src/deoptimizer.h" | 8 #include "src/deoptimizer.h" |
9 #include "src/lithium-codegen.h" | 9 #include "src/lithium-codegen.h" |
10 #include "src/mips/lithium-gap-resolver-mips.h" | 10 #include "src/mips/lithium-gap-resolver-mips.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 void CallKnownFunction(Handle<JSFunction> function, | 215 void CallKnownFunction(Handle<JSFunction> function, |
216 int formal_parameter_count, int arity, | 216 int formal_parameter_count, int arity, |
217 LInstruction* instr); | 217 LInstruction* instr); |
218 | 218 |
219 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 219 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
220 SafepointMode safepoint_mode); | 220 SafepointMode safepoint_mode); |
221 | 221 |
222 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 222 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
223 Safepoint::DeoptMode mode); | 223 Safepoint::DeoptMode mode); |
224 void DeoptimizeIf(Condition condition, LInstruction* instr, | 224 void DeoptimizeIf(Condition condition, LInstruction* instr, |
225 Deoptimizer::BailoutType bailout_type, const char* detail, | 225 Deoptimizer::DeoptReason deopt_reason, |
| 226 Deoptimizer::BailoutType bailout_type, |
226 Register src1 = zero_reg, | 227 Register src1 = zero_reg, |
227 const Operand& src2 = Operand(zero_reg)); | 228 const Operand& src2 = Operand(zero_reg)); |
228 void DeoptimizeIf(Condition condition, LInstruction* instr, | 229 void DeoptimizeIf( |
229 const char* detail = NULL, Register src1 = zero_reg, | 230 Condition condition, LInstruction* instr, |
230 const Operand& src2 = Operand(zero_reg)); | 231 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason, |
| 232 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg)); |
231 | 233 |
232 void AddToTranslation(LEnvironment* environment, | 234 void AddToTranslation(LEnvironment* environment, |
233 Translation* translation, | 235 Translation* translation, |
234 LOperand* op, | 236 LOperand* op, |
235 bool is_tagged, | 237 bool is_tagged, |
236 bool is_uint32, | 238 bool is_uint32, |
237 int* object_index_pointer, | 239 int* object_index_pointer, |
238 int* dematerialized_index_pointer); | 240 int* dematerialized_index_pointer); |
239 void PopulateDeoptimizationData(Handle<Code> code); | 241 void PopulateDeoptimizationData(Handle<Code> code); |
240 int DefineDeoptimizationLiteral(Handle<Object> literal); | 242 int DefineDeoptimizationLiteral(Handle<Object> literal); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 LCodeGen* codegen_; | 433 LCodeGen* codegen_; |
432 Label entry_; | 434 Label entry_; |
433 Label exit_; | 435 Label exit_; |
434 Label* external_exit_; | 436 Label* external_exit_; |
435 int instruction_index_; | 437 int instruction_index_; |
436 }; | 438 }; |
437 | 439 |
438 } } // namespace v8::internal | 440 } } // namespace v8::internal |
439 | 441 |
440 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 442 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |