| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_CONSTANTS_ARM_H_ | 5 #ifndef VM_CONSTANTS_ARM_H_ |
| 6 #define VM_CONSTANTS_ARM_H_ | 6 #define VM_CONSTANTS_ARM_H_ |
| 7 | 7 |
| 8 namespace dart { | 8 namespace dart { |
| 9 | 9 |
| 10 // We support both VFPv3-D16 and VFPv3-D32 profiles, but currently only one at | 10 // We support both VFPv3-D16 and VFPv3-D32 profiles, but currently only one at |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 // Architecture independent aliases. | 128 // Architecture independent aliases. |
| 129 typedef DRegister FpuRegister; | 129 typedef DRegister FpuRegister; |
| 130 const FpuRegister FpuTMP = D0; | 130 const FpuRegister FpuTMP = D0; |
| 131 const int kNumberOfFpuRegisters = kNumberOfDRegisters; | 131 const int kNumberOfFpuRegisters = kNumberOfDRegisters; |
| 132 | 132 |
| 133 | 133 |
| 134 // Register aliases. | 134 // Register aliases. |
| 135 const Register TMP = kNoRegister; // No scratch register used by assembler. | 135 const Register TMP = kNoRegister; // No scratch register used by assembler. |
| 136 const Register CTX = R9; // Caches current context in generated code. | 136 const Register CTX = R9; // Caches current context in generated code. |
| 137 const Register CP = R10; // Caches constant pool base in generated code. | 137 const Register PP = R10; // Caches object pool pointer in generated code. |
| 138 const Register SPREG = SP; | 138 const Register SPREG = SP; |
| 139 const Register FPREG = FP; | 139 const Register FPREG = FP; |
| 140 | 140 |
| 141 | 141 |
| 142 // Exception object is passed in this register to the catch handlers when an | 142 // Exception object is passed in this register to the catch handlers when an |
| 143 // exception is thrown. | 143 // exception is thrown. |
| 144 const Register kExceptionObjectReg = R0; // Unimplemented. | 144 const Register kExceptionObjectReg = R0; // Unimplemented. |
| 145 | 145 |
| 146 | 146 |
| 147 // List of registers used in load/store multiple. | 147 // List of registers used in load/store multiple. |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 Instr* Next() { return this + kInstrSize; } | 500 Instr* Next() { return this + kInstrSize; } |
| 501 | 501 |
| 502 private: | 502 private: |
| 503 DISALLOW_ALLOCATION(); | 503 DISALLOW_ALLOCATION(); |
| 504 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 504 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 505 }; | 505 }; |
| 506 | 506 |
| 507 } // namespace dart | 507 } // namespace dart |
| 508 | 508 |
| 509 #endif // VM_CONSTANTS_ARM_H_ | 509 #endif // VM_CONSTANTS_ARM_H_ |
| OLD | NEW |