| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM_H_ | 5 #ifndef RUNTIME_VM_CPU_ARM_H_ |
| 6 #define VM_CPU_ARM_H_ | 6 #define RUNTIME_VM_CPU_ARM_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 // TargetCPUFeatures gives CPU features for the architecture that we are | 13 // TargetCPUFeatures gives CPU features for the architecture that we are |
| 14 // generating code for. HostCPUFeatures gives the CPU features for the | 14 // generating code for. HostCPUFeatures gives the CPU features for the |
| 15 // architecture that we are actually running on. When the architectures | 15 // architecture that we are actually running on. When the architectures |
| 16 // are the same, TargetCPUFeatures will query HostCPUFeatures. When they are | 16 // are the same, TargetCPUFeatures will query HostCPUFeatures. When they are |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 static ARMVersion arm_version() { | 122 static ARMVersion arm_version() { |
| 123 return HostCPUFeatures::arm_version(); | 123 return HostCPUFeatures::arm_version(); |
| 124 } | 124 } |
| 125 static intptr_t store_pc_read_offset() { | 125 static intptr_t store_pc_read_offset() { |
| 126 return HostCPUFeatures::store_pc_read_offset(); | 126 return HostCPUFeatures::store_pc_read_offset(); |
| 127 } | 127 } |
| 128 }; | 128 }; |
| 129 | 129 |
| 130 } // namespace dart | 130 } // namespace dart |
| 131 | 131 |
| 132 #endif // VM_CPU_ARM_H_ | 132 #endif // RUNTIME_VM_CPU_ARM_H_ |
| OLD | NEW |