| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 LOperand* temp2, | 106 LOperand* temp2, |
| 107 IntegerSignedness signedness); | 107 IntegerSignedness signedness); |
| 108 | 108 |
| 109 void DoDeferredTaggedToI(LTaggedToI* instr); | 109 void DoDeferredTaggedToI(LTaggedToI* instr); |
| 110 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 110 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); |
| 111 void DoDeferredStackCheck(LStackCheck* instr); | 111 void DoDeferredStackCheck(LStackCheck* instr); |
| 112 void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr); | 112 void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr); |
| 113 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 113 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 114 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 114 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| 115 void DoDeferredAllocate(LAllocate* instr); | 115 void DoDeferredAllocate(LAllocate* instr); |
| 116 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | |
| 117 Label* map_check); | |
| 118 | |
| 119 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); | 116 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); |
| 120 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, | 117 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, |
| 121 Register result, | 118 Register result, |
| 122 Register object, | 119 Register object, |
| 123 Register index); | 120 Register index); |
| 124 | 121 |
| 125 // Parallel move support. | 122 // Parallel move support. |
| 126 void DoParallelMove(LParallelMove* move); | 123 void DoParallelMove(LParallelMove* move); |
| 127 void DoGap(LGap* instr); | 124 void DoGap(LGap* instr); |
| 128 | 125 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 template<class InstrType> | 268 template<class InstrType> |
| 272 void EmitBranch(InstrType instr, | 269 void EmitBranch(InstrType instr, |
| 273 Condition condition, | 270 Condition condition, |
| 274 Register src1, | 271 Register src1, |
| 275 const Operand& src2); | 272 const Operand& src2); |
| 276 template<class InstrType> | 273 template<class InstrType> |
| 277 void EmitBranchF(InstrType instr, | 274 void EmitBranchF(InstrType instr, |
| 278 Condition condition, | 275 Condition condition, |
| 279 FPURegister src1, | 276 FPURegister src1, |
| 280 FPURegister src2); | 277 FPURegister src2); |
| 281 template<class InstrType> | 278 template <class InstrType> |
| 282 void EmitFalseBranch(InstrType instr, | 279 void EmitTrueBranch(InstrType instr, Condition condition, Register src1, |
| 283 Condition condition, | 280 const Operand& src2); |
| 284 Register src1, | 281 template <class InstrType> |
| 282 void EmitFalseBranch(InstrType instr, Condition condition, Register src1, |
| 285 const Operand& src2); | 283 const Operand& src2); |
| 286 template<class InstrType> | 284 template<class InstrType> |
| 287 void EmitFalseBranchF(InstrType instr, | 285 void EmitFalseBranchF(InstrType instr, |
| 288 Condition condition, | 286 Condition condition, |
| 289 FPURegister src1, | 287 FPURegister src1, |
| 290 FPURegister src2); | 288 FPURegister src2); |
| 291 void EmitCmpI(LOperand* left, LOperand* right); | 289 void EmitCmpI(LOperand* left, LOperand* right); |
| 292 void EmitNumberUntagD(LNumberUntagD* instr, Register input, | 290 void EmitNumberUntagD(LNumberUntagD* instr, Register input, |
| 293 DoubleRegister result, NumberUntagDMode mode); | 291 DoubleRegister result, NumberUntagDMode mode); |
| 294 | 292 |
| (...skipping 138 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 |