| 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/assert.h" | 8 #include "platform/assert.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 const FpuRegister FpuTMP = QTMP; | 183 const FpuRegister FpuTMP = QTMP; |
| 184 const int kNumberOfFpuRegisters = kNumberOfQRegisters; | 184 const int kNumberOfFpuRegisters = kNumberOfQRegisters; |
| 185 const FpuRegister kNoFpuRegister = kNoQRegister; | 185 const FpuRegister kNoFpuRegister = kNoQRegister; |
| 186 | 186 |
| 187 // Register aliases. | 187 // Register aliases. |
| 188 const Register TMP = IP; // Used as scratch register by assembler. | 188 const Register TMP = IP; // Used as scratch register by assembler. |
| 189 const Register CTX = R9; // Caches current context in generated code. | 189 const Register CTX = R9; // Caches current context in generated code. |
| 190 const Register PP = R10; // Caches object pool pointer in generated code. | 190 const Register PP = R10; // Caches object pool pointer in generated code. |
| 191 const Register SPREG = SP; // Stack pointer register. | 191 const Register SPREG = SP; // Stack pointer register. |
| 192 const Register FPREG = FP; // Frame pointer register. | 192 const Register FPREG = FP; // Frame pointer register. |
| 193 const Register ICREG = R5; // IC data register. |
| 193 | 194 |
| 194 // Exception object is passed in this register to the catch handlers when an | 195 // Exception object is passed in this register to the catch handlers when an |
| 195 // exception is thrown. | 196 // exception is thrown. |
| 196 const Register kExceptionObjectReg = R0; | 197 const Register kExceptionObjectReg = R0; |
| 197 | 198 |
| 198 // Stack trace object is passed in this register to the catch handlers when | 199 // Stack trace object is passed in this register to the catch handlers when |
| 199 // an exception is thrown. | 200 // an exception is thrown. |
| 200 const Register kStackTraceObjectReg = R1; | 201 const Register kStackTraceObjectReg = R1; |
| 201 | 202 |
| 202 | 203 |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 649 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
| 649 | 650 |
| 650 private: | 651 private: |
| 651 DISALLOW_ALLOCATION(); | 652 DISALLOW_ALLOCATION(); |
| 652 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 653 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 653 }; | 654 }; |
| 654 | 655 |
| 655 } // namespace dart | 656 } // namespace dart |
| 656 | 657 |
| 657 #endif // VM_CONSTANTS_ARM_H_ | 658 #endif // VM_CONSTANTS_ARM_H_ |
| OLD | NEW |