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

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
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/constants_ia32.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 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 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
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_
OLDNEW
« no previous file with comments | « runtime/vm/code_patcher_x64.cc ('k') | runtime/vm/constants_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698