| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // LOperand is loaded into scratch, unless already a register. | 68 // LOperand is loaded into scratch, unless already a register. |
| 69 Register EmitLoadRegister(LOperand* op, Register scratch); | 69 Register EmitLoadRegister(LOperand* op, Register scratch); |
| 70 | 70 |
| 71 // LOperand must be a double register. | 71 // LOperand must be a double register. |
| 72 DoubleRegister ToDoubleRegister(LOperand* op) const; | 72 DoubleRegister ToDoubleRegister(LOperand* op) const; |
| 73 | 73 |
| 74 // LOperand is loaded into dbl_scratch, unless already a double register. | 74 // LOperand is loaded into dbl_scratch, unless already a double register. |
| 75 DoubleRegister EmitLoadDoubleRegister(LOperand* op, | 75 DoubleRegister EmitLoadDoubleRegister(LOperand* op, |
| 76 FloatRegister flt_scratch, | 76 FloatRegister flt_scratch, |
| 77 DoubleRegister dbl_scratch); | 77 DoubleRegister dbl_scratch); |
| 78 int32_t ToRepresentation_donotuse(LConstantOperand* op, | 78 int64_t ToRepresentation_donotuse(LConstantOperand* op, |
| 79 const Representation& r) const; | 79 const Representation& r) const; |
| 80 int32_t ToInteger32(LConstantOperand* op) const; | 80 int32_t ToInteger32(LConstantOperand* op) const; |
| 81 Smi* ToSmi(LConstantOperand* op) const; | 81 Smi* ToSmi(LConstantOperand* op) const; |
| 82 double ToDouble(LConstantOperand* op) const; | 82 double ToDouble(LConstantOperand* op) const; |
| 83 Operand ToOperand(LOperand* op); | 83 Operand ToOperand(LOperand* op); |
| 84 MemOperand ToMemOperand(LOperand* op) const; | 84 MemOperand ToMemOperand(LOperand* op) const; |
| 85 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. | 85 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. |
| 86 MemOperand ToHighMemOperand(LOperand* op) const; | 86 MemOperand ToHighMemOperand(LOperand* op) const; |
| 87 | 87 |
| 88 bool IsInteger32(LConstantOperand* op) const; | 88 bool IsInteger32(LConstantOperand* op) const; |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 LCodeGen* codegen_; | 432 LCodeGen* codegen_; |
| 433 Label entry_; | 433 Label entry_; |
| 434 Label exit_; | 434 Label exit_; |
| 435 Label* external_exit_; | 435 Label* external_exit_; |
| 436 int instruction_index_; | 436 int instruction_index_; |
| 437 }; | 437 }; |
| 438 | 438 |
| 439 } } // namespace v8::internal | 439 } } // namespace v8::internal |
| 440 | 440 |
| 441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 441 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |