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

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

Issue 19774007: Collect both arguments for math's min/max static functions. Later that information will be used to … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 193
regis 2013/07/18 21:30:18 No need for a blank line.
srdjan 2013/07/18 22:17:06 Done.
194 const Register ICREG = R5; // IC data register.
195
194 // Exception object is passed in this register to the catch handlers when an 196 // Exception object is passed in this register to the catch handlers when an
195 // exception is thrown. 197 // exception is thrown.
196 const Register kExceptionObjectReg = R0; 198 const Register kExceptionObjectReg = R0;
197 199
198 // Stack trace object is passed in this register to the catch handlers when 200 // Stack trace object is passed in this register to the catch handlers when
199 // an exception is thrown. 201 // an exception is thrown.
200 const Register kStackTraceObjectReg = R1; 202 const Register kStackTraceObjectReg = R1;
201 203
202 204
203 // List of registers used in load/store multiple. 205 // List of registers used in load/store multiple.
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 650 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
649 651
650 private: 652 private:
651 DISALLOW_ALLOCATION(); 653 DISALLOW_ALLOCATION();
652 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 654 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
653 }; 655 };
654 656
655 } // namespace dart 657 } // namespace dart
656 658
657 #endif // VM_CONSTANTS_ARM_H_ 659 #endif // VM_CONSTANTS_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698