| 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/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/mips64/lithium-gap-resolver-mips64.h" |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 int arity, | 223 int arity, |
| 224 LInstruction* instr, | 224 LInstruction* instr, |
| 225 A1State a1_state); | 225 A1State a1_state); |
| 226 | 226 |
| 227 void RecordSafepointWithLazyDeopt(LInstruction* instr, | 227 void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| 228 SafepointMode safepoint_mode); | 228 SafepointMode safepoint_mode); |
| 229 | 229 |
| 230 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 230 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 231 Safepoint::DeoptMode mode); | 231 Safepoint::DeoptMode mode); |
| 232 void DeoptimizeIf(Condition condition, LInstruction* instr, | 232 void DeoptimizeIf(Condition condition, LInstruction* instr, |
| 233 Deoptimizer::BailoutType bailout_type, | 233 Deoptimizer::BailoutType bailout_type, const char* detail, |
| 234 Register src1 = zero_reg, | 234 Register src1 = zero_reg, |
| 235 const Operand& src2 = Operand(zero_reg), | 235 const Operand& src2 = Operand(zero_reg)); |
| 236 const char* detail = NULL); | |
| 237 void DeoptimizeIf(Condition condition, LInstruction* instr, | 236 void DeoptimizeIf(Condition condition, LInstruction* instr, |
| 238 Register src1 = zero_reg, | 237 const char* detail, Register src1 = zero_reg, |
| 239 const Operand& src2 = Operand(zero_reg), | 238 const Operand& src2 = Operand(zero_reg)); |
| 240 const char* detail = NULL); | |
| 241 | 239 |
| 242 void AddToTranslation(LEnvironment* environment, | 240 void AddToTranslation(LEnvironment* environment, |
| 243 Translation* translation, | 241 Translation* translation, |
| 244 LOperand* op, | 242 LOperand* op, |
| 245 bool is_tagged, | 243 bool is_tagged, |
| 246 bool is_uint32, | 244 bool is_uint32, |
| 247 int* object_index_pointer, | 245 int* object_index_pointer, |
| 248 int* dematerialized_index_pointer); | 246 int* dematerialized_index_pointer); |
| 249 void PopulateDeoptimizationData(Handle<Code> code); | 247 void PopulateDeoptimizationData(Handle<Code> code); |
| 250 int DefineDeoptimizationLiteral(Handle<Object> literal); | 248 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 LCodeGen* codegen_; | 439 LCodeGen* codegen_; |
| 442 Label entry_; | 440 Label entry_; |
| 443 Label exit_; | 441 Label exit_; |
| 444 Label* external_exit_; | 442 Label* external_exit_; |
| 445 int instruction_index_; | 443 int instruction_index_; |
| 446 }; | 444 }; |
| 447 | 445 |
| 448 } } // namespace v8::internal | 446 } } // namespace v8::internal |
| 449 | 447 |
| 450 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 448 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |