OLD | NEW |
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" |
| 9 |
8 namespace dart { | 10 namespace dart { |
9 | 11 |
10 // We support both VFPv3-D16 and VFPv3-D32 profiles, but currently only one at | 12 // We support both VFPv3-D16 and VFPv3-D32 profiles, but currently only one at |
11 // a time. | 13 // a time. |
12 #define VFPv3_D16 | 14 #define VFPv3_D16 |
13 #if defined(VFPv3_D16) == defined(VFPv3_D32) | 15 #if defined(VFPv3_D16) == defined(VFPv3_D32) |
14 #error "Exactly one of VFPv3_D16 or VFPv3_D32 can be defined at a time." | 16 #error "Exactly one of VFPv3_D16 or VFPv3_D32 can be defined at a time." |
15 #endif | 17 #endif |
16 | 18 |
17 | 19 |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } | 558 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } |
557 | 559 |
558 private: | 560 private: |
559 DISALLOW_ALLOCATION(); | 561 DISALLOW_ALLOCATION(); |
560 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 562 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
561 }; | 563 }; |
562 | 564 |
563 } // namespace dart | 565 } // namespace dart |
564 | 566 |
565 #endif // VM_CONSTANTS_ARM_H_ | 567 #endif // VM_CONSTANTS_ARM_H_ |
OLD | NEW |