| 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 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/assembler.h" |
| 9 #include "vm/simulator.h" |
| 10 #include "vm/runtime_entry.h" |
| 11 #include "vm/stub_code.h" |
| 12 |
| 8 // An extra check since we are assuming the existence of /proc/cpuinfo below. | 13 // An extra check since we are assuming the existence of /proc/cpuinfo below. |
| 9 #if !defined(USING_SIMULATOR) && !defined(__linux__) | 14 #if !defined(USING_SIMULATOR) && !defined(__linux__) |
| 10 #error ARM cross-compile only supported on Linux | 15 #error ARM cross-compile only supported on Linux |
| 11 #endif | 16 #endif |
| 12 | 17 |
| 13 #include "vm/assembler.h" | |
| 14 #include "vm/simulator.h" | |
| 15 #include "vm/runtime_entry.h" | |
| 16 #include "vm/stub_code.h" | |
| 17 | |
| 18 namespace dart { | 18 namespace dart { |
| 19 | 19 |
| 20 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message."); | 20 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message."); |
| 21 | 21 |
| 22 | 22 |
| 23 bool CPUFeatures::integer_division_supported_ = false; | 23 bool CPUFeatures::integer_division_supported_ = false; |
| 24 #if defined(DEBUG) | 24 #if defined(DEBUG) |
| 25 bool CPUFeatures::initialized_ = false; | 25 bool CPUFeatures::initialized_ = false; |
| 26 #endif | 26 #endif |
| 27 | 27 |
| (...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2163 | 2163 |
| 2164 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 2164 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
| 2165 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 2165 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
| 2166 return fpu_reg_names[reg]; | 2166 return fpu_reg_names[reg]; |
| 2167 } | 2167 } |
| 2168 | 2168 |
| 2169 } // namespace dart | 2169 } // namespace dart |
| 2170 | 2170 |
| 2171 #endif // defined TARGET_ARCH_ARM | 2171 #endif // defined TARGET_ARCH_ARM |
| 2172 | 2172 |
| OLD | NEW |