OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_CPU_DBC_H_ | 5 #ifndef RUNTIME_VM_CPU_DBC_H_ |
6 #define VM_CPU_DBC_H_ | 6 #define RUNTIME_VM_CPU_DBC_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/simulator.h" | 9 #include "vm/simulator.h" |
10 | 10 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 class HostCPUFeatures: public AllStatic { | 13 class HostCPUFeatures: public AllStatic { |
14 public: | 14 public: |
15 static void InitOnce(); | 15 static void InitOnce(); |
16 static void Cleanup(); | 16 static void Cleanup(); |
(...skipping 23 matching lines...) Expand all Loading... |
40 return CPU::Id(); | 40 return CPU::Id(); |
41 } | 41 } |
42 | 42 |
43 static bool double_truncate_round_supported() { | 43 static bool double_truncate_round_supported() { |
44 return true; | 44 return true; |
45 } | 45 } |
46 }; | 46 }; |
47 | 47 |
48 } // namespace dart | 48 } // namespace dart |
49 | 49 |
50 #endif // VM_CPU_DBC_H_ | 50 #endif // RUNTIME_VM_CPU_DBC_H_ |
OLD | NEW |