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_ASSEMBLER_ARM_H_ | 5 #ifndef VM_ASSEMBLER_ARM_H_ |
6 #define VM_ASSEMBLER_ARM_H_ | 6 #define VM_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_arm.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 } | 59 } |
60 | 60 |
61 friend class Assembler; | 61 friend class Assembler; |
62 DISALLOW_COPY_AND_ASSIGN(Label); | 62 DISALLOW_COPY_AND_ASSIGN(Label); |
63 }; | 63 }; |
64 | 64 |
65 | 65 |
66 class CPUFeatures : public AllStatic { | 66 class CPUFeatures : public AllStatic { |
67 public: | 67 public: |
68 static void InitOnce(); | 68 static void InitOnce(); |
69 static bool double_truncate_round_supported() { | 69 static bool double_truncate_round_supported() { return false; } |
70 UNIMPLEMENTED(); | |
71 return false; | |
72 } | |
73 static bool integer_division_supported(); | 70 static bool integer_division_supported(); |
74 #if defined(USING_SIMULATOR) | 71 #if defined(USING_SIMULATOR) |
75 static void set_integer_division_supported(bool supported); | 72 static void set_integer_division_supported(bool supported); |
76 #endif | 73 #endif |
77 private: | 74 private: |
78 static bool integer_division_supported_; | 75 static bool integer_division_supported_; |
79 #if defined(DEBUG) | 76 #if defined(DEBUG) |
80 static bool initialized_; | 77 static bool initialized_; |
81 #endif | 78 #endif |
82 }; | 79 }; |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 Register value, | 799 Register value, |
803 Label* no_update); | 800 Label* no_update); |
804 | 801 |
805 DISALLOW_ALLOCATION(); | 802 DISALLOW_ALLOCATION(); |
806 DISALLOW_COPY_AND_ASSIGN(Assembler); | 803 DISALLOW_COPY_AND_ASSIGN(Assembler); |
807 }; | 804 }; |
808 | 805 |
809 } // namespace dart | 806 } // namespace dart |
810 | 807 |
811 #endif // VM_ASSEMBLER_ARM_H_ | 808 #endif // VM_ASSEMBLER_ARM_H_ |
OLD | NEW |