| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64_H_ | 5 #ifndef VM_CONSTANTS_ARM64_H_ |
| 6 #define VM_CONSTANTS_ARM64_H_ | 6 #define VM_CONSTANTS_ARM64_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 const Register TMP2 = R17; | 110 const Register TMP2 = R17; |
| 111 const Register CTX = R28; // Location of current context at method entry. | 111 const Register CTX = R28; // Location of current context at method entry. |
| 112 const Register PP = R27; // Caches object pool pointer in generated code. | 112 const Register PP = R27; // Caches object pool pointer in generated code. |
| 113 const Register CODE_REG = R24; | 113 const Register CODE_REG = R24; |
| 114 const Register FPREG = FP; // Frame pointer register. | 114 const Register FPREG = FP; // Frame pointer register. |
| 115 const Register SPREG = R15; // Stack pointer register. | 115 const Register SPREG = R15; // Stack pointer register. |
| 116 const Register LRREG = LR; // Link register. | 116 const Register LRREG = LR; // Link register. |
| 117 const Register ICREG = R5; // IC data register. | 117 const Register ICREG = R5; // IC data register. |
| 118 const Register ARGS_DESC_REG = R4; // Arguments descriptor register. | 118 const Register ARGS_DESC_REG = R4; // Arguments descriptor register. |
| 119 const Register THR = R26; // Caches current thread in generated code. | 119 const Register THR = R26; // Caches current thread in generated code. |
| 120 | 120 const Register CALLEE_SAVED_TEMP = R19; |
| 121 const Register CALLEE_SAVED_TEMP2 = R20; |
| 121 | 122 |
| 122 // Exception object is passed in this register to the catch handlers when an | 123 // Exception object is passed in this register to the catch handlers when an |
| 123 // exception is thrown. | 124 // exception is thrown. |
| 124 const Register kExceptionObjectReg = R0; | 125 const Register kExceptionObjectReg = R0; |
| 125 | 126 |
| 126 // Stack trace object is passed in this register to the catch handlers when | 127 // Stack trace object is passed in this register to the catch handlers when |
| 127 // an exception is thrown. | 128 // an exception is thrown. |
| 128 const Register kStackTraceObjectReg = R1; | 129 const Register kStackTraceObjectReg = R1; |
| 129 | 130 |
| 130 // Masks, sizes, etc. | 131 // Masks, sizes, etc. |
| (...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 1090 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 1090 | 1091 |
| 1091 private: | 1092 private: |
| 1092 DISALLOW_ALLOCATION(); | 1093 DISALLOW_ALLOCATION(); |
| 1093 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 1094 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 1094 }; | 1095 }; |
| 1095 | 1096 |
| 1096 } // namespace dart | 1097 } // namespace dart |
| 1097 | 1098 |
| 1098 #endif // VM_CONSTANTS_ARM64_H_ | 1099 #endif // VM_CONSTANTS_ARM64_H_ |
| OLD | NEW |