| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 const FpuRegister kNoFpuRegister = kNoQRegister; | 229 const FpuRegister kNoFpuRegister = kNoQRegister; |
| 230 | 230 |
| 231 // Register aliases. | 231 // Register aliases. |
| 232 const Register TMP = IP; // Used as scratch register by assembler. | 232 const Register TMP = IP; // Used as scratch register by assembler. |
| 233 const Register TMP2 = kNoRegister; // There is no second assembler temporary. | 233 const Register TMP2 = kNoRegister; // There is no second assembler temporary. |
| 234 const Register CTX = R9; // Caches current context in generated code. | 234 const Register CTX = R9; // Caches current context in generated code. |
| 235 const Register PP = R10; // Caches object pool pointer in generated code. | 235 const Register PP = R10; // Caches object pool pointer in generated code. |
| 236 const Register SPREG = SP; // Stack pointer register. | 236 const Register SPREG = SP; // Stack pointer register. |
| 237 const Register FPREG = FP; // Frame pointer register. | 237 const Register FPREG = FP; // Frame pointer register. |
| 238 const Register ICREG = R5; // IC data register. | 238 const Register ICREG = R5; // IC data register. |
| 239 const Register ARGS_DESC_REG = R4; |
| 239 | 240 |
| 240 // Exception object is passed in this register to the catch handlers when an | 241 // Exception object is passed in this register to the catch handlers when an |
| 241 // exception is thrown. | 242 // exception is thrown. |
| 242 const Register kExceptionObjectReg = R0; | 243 const Register kExceptionObjectReg = R0; |
| 243 | 244 |
| 244 // Stack trace object is passed in this register to the catch handlers when | 245 // Stack trace object is passed in this register to the catch handlers when |
| 245 // an exception is thrown. | 246 // an exception is thrown. |
| 246 const Register kStackTraceObjectReg = R1; | 247 const Register kStackTraceObjectReg = R1; |
| 247 | 248 |
| 248 | 249 |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 697 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 697 | 698 |
| 698 private: | 699 private: |
| 699 DISALLOW_ALLOCATION(); | 700 DISALLOW_ALLOCATION(); |
| 700 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 701 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 701 }; | 702 }; |
| 702 | 703 |
| 703 } // namespace dart | 704 } // namespace dart |
| 704 | 705 |
| 705 #endif // VM_CONSTANTS_ARM_H_ | 706 #endif // VM_CONSTANTS_ARM_H_ |
| OLD | NEW |