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

Side by Side Diff: runtime/vm/constants_mips.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/constants_ia32.h ('k') | runtime/vm/constants_x64.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_MIPS_H_ 5 #ifndef VM_CONSTANTS_MIPS_H_
6 #define VM_CONSTANTS_MIPS_H_ 6 #define VM_CONSTANTS_MIPS_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 168
169 // Register aliases. 169 // Register aliases.
170 const Register TMP1 = AT; // Used as scratch register by assembler. 170 const Register TMP1 = AT; // Used as scratch register by assembler.
171 const Register TMP = TMP1; // Arch independent flow graph compiler needs a 171 const Register TMP = TMP1; // Arch independent flow graph compiler needs a
172 // Register called TMP. 172 // Register called TMP.
173 const Register CTX = S6; // Caches current context in generated code. 173 const Register CTX = S6; // Caches current context in generated code.
174 const Register PP = S7; // Caches object pool pointer in generated code. 174 const Register PP = S7; // Caches object pool pointer in generated code.
175 const Register SPREG = SP; // Stack pointer register. 175 const Register SPREG = SP; // Stack pointer register.
176 const Register FPREG = FP; // Frame pointer register. 176 const Register FPREG = FP; // Frame pointer register.
177 const Register ICREG = S5; // IC data register.
177 178
178 // The code that generates a comparison can be far away from the code that 179 // The code that generates a comparison can be far away from the code that
179 // generates the branch that uses the result of that comparison. In this case, 180 // generates the branch that uses the result of that comparison. In this case,
180 // CMPRES is used for the result of the comparison. 181 // CMPRES is used for the result of the comparison.
181 const Register CMPRES = T9; 182 const Register CMPRES = T9;
182 183
183 // Exception object is passed in this register to the catch handlers when an 184 // Exception object is passed in this register to the catch handlers when an
184 // exception is thrown. 185 // exception is thrown.
185 const Register kExceptionObjectReg = V0; 186 const Register kExceptionObjectReg = V0;
186 187
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 #endif // defined(DEBUG) 591 #endif // defined(DEBUG)
591 592
592 private: 593 private:
593 DISALLOW_ALLOCATION(); 594 DISALLOW_ALLOCATION();
594 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 595 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
595 }; 596 };
596 597
597 } // namespace dart 598 } // namespace dart
598 599
599 #endif // VM_CONSTANTS_MIPS_H_ 600 #endif // VM_CONSTANTS_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_ia32.h ('k') | runtime/vm/constants_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698