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 #include "platform/globals.h" | 8 #include "platform/globals.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 | 10 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 const Register TMP2 = kNoRegister; // There is no second assembler temporary. | 239 const Register TMP2 = kNoRegister; // There is no second assembler temporary. |
240 const Register CTX = R6; // Location of current context at method entry. | 240 const Register CTX = R6; // Location of current context at method entry. |
241 const Register PP = R5; // Caches object pool pointer in generated code. | 241 const Register PP = R5; // Caches object pool pointer in generated code. |
242 const Register SPREG = SP; // Stack pointer register. | 242 const Register SPREG = SP; // Stack pointer register. |
243 const Register FPREG = FP; // Frame pointer register. | 243 const Register FPREG = FP; // Frame pointer register. |
244 const Register LRREG = LR; // Link register. | 244 const Register LRREG = LR; // Link register. |
245 const Register ICREG = R9; // IC data register. | 245 const Register ICREG = R9; // IC data register. |
246 const Register ARGS_DESC_REG = R4; | 246 const Register ARGS_DESC_REG = R4; |
247 const Register CODE_REG = R6; | 247 const Register CODE_REG = R6; |
248 const Register THR = R10; // Caches current thread in generated code. | 248 const Register THR = R10; // Caches current thread in generated code. |
| 249 const Register CALLEE_SAVED_TEMP = R6; |
249 | 250 |
250 // R15 encodes APSR in the vmrs instruction. | 251 // R15 encodes APSR in the vmrs instruction. |
251 const Register APSR = R15; | 252 const Register APSR = R15; |
252 | 253 |
253 // Exception object is passed in this register to the catch handlers when an | 254 // Exception object is passed in this register to the catch handlers when an |
254 // exception is thrown. | 255 // exception is thrown. |
255 const Register kExceptionObjectReg = R0; | 256 const Register kExceptionObjectReg = R0; |
256 | 257 |
257 // Stack trace object is passed in this register to the catch handlers when | 258 // Stack trace object is passed in this register to the catch handlers when |
258 // an exception is thrown. | 259 // an exception is thrown. |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 729 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
729 | 730 |
730 private: | 731 private: |
731 DISALLOW_ALLOCATION(); | 732 DISALLOW_ALLOCATION(); |
732 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 733 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
733 }; | 734 }; |
734 | 735 |
735 } // namespace dart | 736 } // namespace dart |
736 | 737 |
737 #endif // VM_CONSTANTS_ARM_H_ | 738 #endif // VM_CONSTANTS_ARM_H_ |
OLD | NEW |