OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // LOperand is loaded into scratch, unless already a register. | 108 // LOperand is loaded into scratch, unless already a register. |
109 Register EmitLoadRegister(LOperand* op, Register scratch); | 109 Register EmitLoadRegister(LOperand* op, Register scratch); |
110 | 110 |
111 // LOperand must be a double register. | 111 // LOperand must be a double register. |
112 DwVfpRegister ToDoubleRegister(LOperand* op) const; | 112 DwVfpRegister ToDoubleRegister(LOperand* op) const; |
113 | 113 |
114 // LOperand is loaded into dbl_scratch, unless already a double register. | 114 // LOperand is loaded into dbl_scratch, unless already a double register. |
115 DwVfpRegister EmitLoadDoubleRegister(LOperand* op, | 115 DwVfpRegister EmitLoadDoubleRegister(LOperand* op, |
116 SwVfpRegister flt_scratch, | 116 SwVfpRegister flt_scratch, |
117 DwVfpRegister dbl_scratch); | 117 DwVfpRegister dbl_scratch); |
118 int ToRepresentation(LConstantOperand* op, const Representation& r) const; | 118 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; |
119 int32_t ToInteger32(LConstantOperand* op) const; | 119 int32_t ToInteger32(LConstantOperand* op) const; |
120 Smi* ToSmi(LConstantOperand* op) const; | 120 Smi* ToSmi(LConstantOperand* op) const; |
121 double ToDouble(LConstantOperand* op) const; | 121 double ToDouble(LConstantOperand* op) const; |
122 Operand ToOperand(LOperand* op); | 122 Operand ToOperand(LOperand* op); |
123 MemOperand ToMemOperand(LOperand* op) const; | 123 MemOperand ToMemOperand(LOperand* op) const; |
124 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. | 124 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. |
125 MemOperand ToHighMemOperand(LOperand* op) const; | 125 MemOperand ToHighMemOperand(LOperand* op) const; |
126 | 126 |
127 bool IsInteger32(LConstantOperand* op) const; | 127 bool IsInteger32(LConstantOperand* op) const; |
128 bool IsSmi(LConstantOperand* op) const; | 128 bool IsSmi(LConstantOperand* op) const; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 LCodeGen* codegen_; | 492 LCodeGen* codegen_; |
493 Label entry_; | 493 Label entry_; |
494 Label exit_; | 494 Label exit_; |
495 Label* external_exit_; | 495 Label* external_exit_; |
496 int instruction_index_; | 496 int instruction_index_; |
497 }; | 497 }; |
498 | 498 |
499 } } // namespace v8::internal | 499 } } // namespace v8::internal |
500 | 500 |
501 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 501 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |