| 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::DeoptReason deopt_reason, | 225 Deoptimizer::BailoutType bailout_type, const char* detail, |
| 226 Deoptimizer::BailoutType bailout_type, | |
| 227 Register src1 = zero_reg, | 226 Register src1 = zero_reg, |
| 228 const Operand& src2 = Operand(zero_reg)); | 227 const Operand& src2 = Operand(zero_reg)); |
| 229 void DeoptimizeIf( | 228 void DeoptimizeIf(Condition condition, LInstruction* instr, |
| 230 Condition condition, LInstruction* instr, | 229 const char* detail = NULL, Register src1 = zero_reg, |
| 231 Deoptimizer::DeoptReason deopt_reason = Deoptimizer::kNoReason, | 230 const Operand& src2 = Operand(zero_reg)); |
| 232 Register src1 = zero_reg, const Operand& src2 = Operand(zero_reg)); | |
| 233 | 231 |
| 234 void AddToTranslation(LEnvironment* environment, | 232 void AddToTranslation(LEnvironment* environment, |
| 235 Translation* translation, | 233 Translation* translation, |
| 236 LOperand* op, | 234 LOperand* op, |
| 237 bool is_tagged, | 235 bool is_tagged, |
| 238 bool is_uint32, | 236 bool is_uint32, |
| 239 int* object_index_pointer, | 237 int* object_index_pointer, |
| 240 int* dematerialized_index_pointer); | 238 int* dematerialized_index_pointer); |
| 241 void PopulateDeoptimizationData(Handle<Code> code); | 239 void PopulateDeoptimizationData(Handle<Code> code); |
| 242 int DefineDeoptimizationLiteral(Handle<Object> literal); | 240 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 LCodeGen* codegen_; | 431 LCodeGen* codegen_; |
| 434 Label entry_; | 432 Label entry_; |
| 435 Label exit_; | 433 Label exit_; |
| 436 Label* external_exit_; | 434 Label* external_exit_; |
| 437 int instruction_index_; | 435 int instruction_index_; |
| 438 }; | 436 }; |
| 439 | 437 |
| 440 } } // namespace v8::internal | 438 } } // namespace v8::internal |
| 441 | 439 |
| 442 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 440 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |