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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 const Register TMP2 = kNoRegister; // There is no second assembler temporary. | 276 const Register TMP2 = kNoRegister; // There is no second assembler temporary. |
277 const Register CTX = R6; // Location of current context at method entry. | 277 const Register CTX = R6; // Location of current context at method entry. |
278 const Register PP = R5; // Caches object pool pointer in generated code. | 278 const Register PP = R5; // Caches object pool pointer in generated code. |
279 const Register SPREG = SP; // Stack pointer register. | 279 const Register SPREG = SP; // Stack pointer register. |
280 const Register FPREG = FP; // Frame pointer register. | 280 const Register FPREG = FP; // Frame pointer register. |
281 const Register LRREG = LR; // Link register. | 281 const Register LRREG = LR; // Link register. |
282 const Register ICREG = R9; // IC data register. | 282 const Register ICREG = R9; // IC data register. |
283 const Register ARGS_DESC_REG = R4; | 283 const Register ARGS_DESC_REG = R4; |
284 const Register CODE_REG = R6; | 284 const Register CODE_REG = R6; |
285 const Register THR = R10; // Caches current thread in generated code. | 285 const Register THR = R10; // Caches current thread in generated code. |
286 const Register CALLEE_SAVED_TEMP = R6; | 286 const Register CALLEE_SAVED_TEMP = R8; |
287 | 287 |
288 // R15 encodes APSR in the vmrs instruction. | 288 // R15 encodes APSR in the vmrs instruction. |
289 const Register APSR = R15; | 289 const Register APSR = R15; |
290 | 290 |
291 // Exception object is passed in this register to the catch handlers when an | 291 // Exception object is passed in this register to the catch handlers when an |
292 // exception is thrown. | 292 // exception is thrown. |
293 const Register kExceptionObjectReg = R0; | 293 const Register kExceptionObjectReg = R0; |
294 | 294 |
295 // Stack trace object is passed in this register to the catch handlers when | 295 // Stack trace object is passed in this register to the catch handlers when |
296 // an exception is thrown. | 296 // an exception is thrown. |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 768 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
769 | 769 |
770 private: | 770 private: |
771 DISALLOW_ALLOCATION(); | 771 DISALLOW_ALLOCATION(); |
772 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 772 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
773 }; | 773 }; |
774 | 774 |
775 } // namespace dart | 775 } // namespace dart |
776 | 776 |
777 #endif // VM_CONSTANTS_ARM_H_ | 777 #endif // VM_CONSTANTS_ARM_H_ |
OLD | NEW |