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

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

Issue 2924473002: Fix simarm build for newer gcc's (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « runtime/platform/globals.h ('k') | no next file » | 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 RUNTIME_VM_CONSTANTS_ARM_H_ 5 #ifndef RUNTIME_VM_CONSTANTS_ARM_H_
6 #define RUNTIME_VM_CONSTANTS_ARM_H_ 6 #define RUNTIME_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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 #if defined(VFPv3_D32) 253 #if defined(VFPv3_D32)
254 ASSERT(d < D16); 254 ASSERT(d < D16);
255 #endif 255 #endif
256 return static_cast<SRegister>((d * 2) + 1); 256 return static_cast<SRegister>((d * 2) + 1);
257 } 257 }
258 258
259 259
260 // Register aliases for floating point scratch registers. 260 // Register aliases for floating point scratch registers.
261 const QRegister QTMP = Q7; // Overlaps with DTMP, STMP. 261 const QRegister QTMP = Q7; // Overlaps with DTMP, STMP.
262 const DRegister DTMP = EvenDRegisterOf(QTMP); // Overlaps with STMP. 262 const DRegister DTMP = EvenDRegisterOf(QTMP); // Overlaps with STMP.
263 const SRegister STMP = EvenSRegisterOf(DTMP); 263 const SRegister STMP DART_USED = EvenSRegisterOf(DTMP);
264 264
265 // Architecture independent aliases. 265 // Architecture independent aliases.
266 typedef QRegister FpuRegister; 266 typedef QRegister FpuRegister;
267 267
268 const FpuRegister FpuTMP = QTMP; 268 const FpuRegister FpuTMP = QTMP;
269 const int kNumberOfFpuRegisters = kNumberOfQRegisters; 269 const int kNumberOfFpuRegisters = kNumberOfQRegisters;
270 const FpuRegister kNoFpuRegister = kNoQRegister; 270 const FpuRegister kNoFpuRegister = kNoQRegister;
271 271
272 // Register aliases. 272 // Register aliases.
273 const Register TMP = IP; // Used as scratch register by assembler. 273 const Register TMP = IP; // Used as scratch register by assembler.
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 757 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
758 758
759 private: 759 private:
760 DISALLOW_ALLOCATION(); 760 DISALLOW_ALLOCATION();
761 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 761 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
762 }; 762 };
763 763
764 } // namespace dart 764 } // namespace dart
765 765
766 #endif // RUNTIME_VM_CONSTANTS_ARM_H_ 766 #endif // RUNTIME_VM_CONSTANTS_ARM_H_
OLDNEW
« no previous file with comments | « runtime/platform/globals.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698