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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 Register EmitLoadRegister(LOperand* op, Register scratch); | 112 Register EmitLoadRegister(LOperand* op, Register scratch); |
113 | 113 |
114 // LOperand must be a double register. | 114 // LOperand must be a double register. |
115 DwVfpRegister ToDoubleRegister(LOperand* op) const; | 115 DwVfpRegister ToDoubleRegister(LOperand* op) const; |
116 | 116 |
117 // LOperand is loaded into dbl_scratch, unless already a double register. | 117 // LOperand is loaded into dbl_scratch, unless already a double register. |
118 DwVfpRegister EmitLoadDoubleRegister(LOperand* op, | 118 DwVfpRegister EmitLoadDoubleRegister(LOperand* op, |
119 SwVfpRegister flt_scratch, | 119 SwVfpRegister flt_scratch, |
120 DwVfpRegister dbl_scratch); | 120 DwVfpRegister dbl_scratch); |
121 int ToInteger32(LConstantOperand* op) const; | 121 int ToInteger32(LConstantOperand* op) const; |
| 122 Smi* ToSmi(LConstantOperand* op) const; |
122 double ToDouble(LConstantOperand* op) const; | 123 double ToDouble(LConstantOperand* op) const; |
123 Operand ToOperand(LOperand* op); | 124 Operand ToOperand(LOperand* op); |
124 MemOperand ToMemOperand(LOperand* op) const; | 125 MemOperand ToMemOperand(LOperand* op) const; |
125 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. | 126 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. |
126 MemOperand ToHighMemOperand(LOperand* op) const; | 127 MemOperand ToHighMemOperand(LOperand* op) const; |
127 | 128 |
128 bool IsInteger32(LConstantOperand* op) const; | 129 bool IsInteger32(LConstantOperand* op) const; |
129 bool IsSmi(LConstantOperand* op) const; | 130 bool IsSmi(LConstantOperand* op) const; |
130 Handle<Object> ToHandle(LConstantOperand* op) const; | 131 Handle<Object> ToHandle(LConstantOperand* op) const; |
131 | 132 |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 LCodeGen* codegen_; | 505 LCodeGen* codegen_; |
505 Label entry_; | 506 Label entry_; |
506 Label exit_; | 507 Label exit_; |
507 Label* external_exit_; | 508 Label* external_exit_; |
508 int instruction_index_; | 509 int instruction_index_; |
509 }; | 510 }; |
510 | 511 |
511 } } // namespace v8::internal | 512 } } // namespace v8::internal |
512 | 513 |
513 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 514 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |