Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Side by Side Diff: runtime/vm/constants_arm.h

Issue 647523002: Uses correct mnemonic for vmrs instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/disassembler_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 const Register ARGS_DESC_REG = R4;
240 240
241 // R15 encodes APSR in the vmrs instruction.
242 const Register APSR = R15;
243
241 // Exception object is passed in this register to the catch handlers when an 244 // Exception object is passed in this register to the catch handlers when an
242 // exception is thrown. 245 // exception is thrown.
243 const Register kExceptionObjectReg = R0; 246 const Register kExceptionObjectReg = R0;
244 247
245 // Stack trace object is passed in this register to the catch handlers when 248 // Stack trace object is passed in this register to the catch handlers when
246 // an exception is thrown. 249 // an exception is thrown.
247 const Register kStackTraceObjectReg = R1; 250 const Register kStackTraceObjectReg = R1;
248 251
249 252
250 // List of registers used in load/store multiple. 253 // List of registers used in load/store multiple.
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 701 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
699 702
700 private: 703 private:
701 DISALLOW_ALLOCATION(); 704 DISALLOW_ALLOCATION();
702 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 705 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
703 }; 706 };
704 707
705 } // namespace dart 708 } // namespace dart
706 709
707 #endif // VM_CONSTANTS_ARM_H_ 710 #endif // VM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/disassembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698