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

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

Issue 239283003: Teaches the register allocator about a second assembler temporary. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | « no previous file | runtime/vm/constants_arm64.h » ('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/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 const SRegister STMP = EvenSRegisterOf(DTMP); 186 const SRegister STMP = EvenSRegisterOf(DTMP);
187 187
188 // Architecture independent aliases. 188 // Architecture independent aliases.
189 typedef QRegister FpuRegister; 189 typedef QRegister FpuRegister;
190 const FpuRegister FpuTMP = QTMP; 190 const FpuRegister FpuTMP = QTMP;
191 const int kNumberOfFpuRegisters = kNumberOfQRegisters; 191 const int kNumberOfFpuRegisters = kNumberOfQRegisters;
192 const FpuRegister kNoFpuRegister = kNoQRegister; 192 const FpuRegister kNoFpuRegister = kNoQRegister;
193 193
194 // Register aliases. 194 // Register aliases.
195 const Register TMP = IP; // Used as scratch register by assembler. 195 const Register TMP = IP; // Used as scratch register by assembler.
196 const Register TMP2 = kNoRegister; // There is no second assembler temporary.
196 const Register CTX = R9; // Caches current context in generated code. 197 const Register CTX = R9; // Caches current context in generated code.
197 const Register PP = R10; // Caches object pool pointer in generated code. 198 const Register PP = R10; // Caches object pool pointer in generated code.
198 const Register SPREG = SP; // Stack pointer register. 199 const Register SPREG = SP; // Stack pointer register.
199 const Register FPREG = FP; // Frame pointer register. 200 const Register FPREG = FP; // Frame pointer register.
200 const Register ICREG = R5; // IC data register. 201 const Register ICREG = R5; // IC data register.
201 202
202 // Exception object is passed in this register to the catch handlers when an 203 // Exception object is passed in this register to the catch handlers when an
203 // exception is thrown. 204 // exception is thrown.
204 const Register kExceptionObjectReg = R0; 205 const Register kExceptionObjectReg = R0;
205 206
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 659 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
659 660
660 private: 661 private:
661 DISALLOW_ALLOCATION(); 662 DISALLOW_ALLOCATION();
662 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 663 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
663 }; 664 };
664 665
665 } // namespace dart 666 } // namespace dart
666 667
667 #endif // VM_CONSTANTS_ARM_H_ 668 #endif // VM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/constants_arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698