| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 LOperand* temp2, | 107 LOperand* temp2, |
| 108 IntegerSignedness signedness); | 108 IntegerSignedness signedness); |
| 109 | 109 |
| 110 void DoDeferredTaggedToI(LTaggedToI* instr); | 110 void DoDeferredTaggedToI(LTaggedToI* instr); |
| 111 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 111 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); |
| 112 void DoDeferredStackCheck(LStackCheck* instr); | 112 void DoDeferredStackCheck(LStackCheck* instr); |
| 113 void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr); | 113 void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr); |
| 114 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 114 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 115 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 115 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| 116 void DoDeferredAllocate(LAllocate* instr); | 116 void DoDeferredAllocate(LAllocate* instr); |
| 117 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | |
| 118 Label* map_check); | |
| 119 | 117 |
| 120 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); | 118 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); |
| 121 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, | 119 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, |
| 122 Register result, | 120 Register result, |
| 123 Register object, | 121 Register object, |
| 124 Register index); | 122 Register index); |
| 125 | 123 |
| 126 // Parallel move support. | 124 // Parallel move support. |
| 127 void DoParallelMove(LParallelMove* move); | 125 void DoParallelMove(LParallelMove* move); |
| 128 void DoGap(LGap* instr); | 126 void DoGap(LGap* instr); |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 template<class InstrType> | 271 template<class InstrType> |
| 274 void EmitBranch(InstrType instr, | 272 void EmitBranch(InstrType instr, |
| 275 Condition condition, | 273 Condition condition, |
| 276 Register src1, | 274 Register src1, |
| 277 const Operand& src2); | 275 const Operand& src2); |
| 278 template<class InstrType> | 276 template<class InstrType> |
| 279 void EmitBranchF(InstrType instr, | 277 void EmitBranchF(InstrType instr, |
| 280 Condition condition, | 278 Condition condition, |
| 281 FPURegister src1, | 279 FPURegister src1, |
| 282 FPURegister src2); | 280 FPURegister src2); |
| 283 template<class InstrType> | 281 template <class InstrType> |
| 284 void EmitFalseBranch(InstrType instr, | 282 void EmitTrueBranch(InstrType instr, Condition condition, Register src1, |
| 285 Condition condition, | 283 const Operand& src2); |
| 286 Register src1, | 284 template <class InstrType> |
| 285 void EmitFalseBranch(InstrType instr, Condition condition, Register src1, |
| 287 const Operand& src2); | 286 const Operand& src2); |
| 288 template<class InstrType> | 287 template<class InstrType> |
| 289 void EmitFalseBranchF(InstrType instr, | 288 void EmitFalseBranchF(InstrType instr, |
| 290 Condition condition, | 289 Condition condition, |
| 291 FPURegister src1, | 290 FPURegister src1, |
| 292 FPURegister src2); | 291 FPURegister src2); |
| 293 void EmitCmpI(LOperand* left, LOperand* right); | 292 void EmitCmpI(LOperand* left, LOperand* right); |
| 294 void EmitNumberUntagD(LNumberUntagD* instr, Register input, | 293 void EmitNumberUntagD(LNumberUntagD* instr, Register input, |
| 295 DoubleRegister result, NumberUntagDMode mode); | 294 DoubleRegister result, NumberUntagDMode mode); |
| 296 | 295 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 LCodeGen* codegen_; | 434 LCodeGen* codegen_; |
| 436 Label entry_; | 435 Label entry_; |
| 437 Label exit_; | 436 Label exit_; |
| 438 Label* external_exit_; | 437 Label* external_exit_; |
| 439 int instruction_index_; | 438 int instruction_index_; |
| 440 }; | 439 }; |
| 441 | 440 |
| 442 } } // namespace v8::internal | 441 } } // namespace v8::internal |
| 443 | 442 |
| 444 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 443 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |