| 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 19 matching lines...) Expand all Loading... |
| 30 kFirstFreeCpuRegister = 0, | 30 kFirstFreeCpuRegister = 0, |
| 31 R0 = 0, | 31 R0 = 0, |
| 32 R1 = 1, | 32 R1 = 1, |
| 33 R2 = 2, | 33 R2 = 2, |
| 34 R3 = 3, | 34 R3 = 3, |
| 35 R4 = 4, | 35 R4 = 4, |
| 36 R5 = 5, | 36 R5 = 5, |
| 37 R6 = 6, | 37 R6 = 6, |
| 38 R7 = 7, | 38 R7 = 7, |
| 39 R8 = 8, | 39 R8 = 8, |
| 40 kLastFreeCpuRegister = 8, | 40 R9 = 9, // CTX |
| 41 R9 = 9, | 41 R10 = 10, // PP |
| 42 R10 = 10, | 42 R11 = 11, // FP |
| 43 R11 = 11, | 43 R12 = 12, // IP |
| 44 R12 = 12, | 44 R13 = 13, // SP |
| 45 R13 = 13, | 45 R14 = 14, // LR |
| 46 R14 = 14, | 46 kLastFreeCpuRegister = 14, |
| 47 R15 = 15, | 47 R15 = 15, // PC |
| 48 FP = 11, | 48 FP = 11, |
| 49 IP = 12, | 49 IP = 12, |
| 50 SP = 13, | 50 SP = 13, |
| 51 LR = 14, | 51 LR = 14, |
| 52 PC = 15, | 52 PC = 15, |
| 53 kNumberOfCpuRegisters = 16, | 53 kNumberOfCpuRegisters = 16, |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 | 56 |
| 57 // Values for single-precision floating point registers. | 57 // Values for single-precision floating point registers. |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 696 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 697 | 697 |
| 698 private: | 698 private: |
| 699 DISALLOW_ALLOCATION(); | 699 DISALLOW_ALLOCATION(); |
| 700 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 700 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 701 }; | 701 }; |
| 702 | 702 |
| 703 } // namespace dart | 703 } // namespace dart |
| 704 | 704 |
| 705 #endif // VM_CONSTANTS_ARM_H_ | 705 #endif // VM_CONSTANTS_ARM_H_ |
| OLD | NEW |