| 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" | 8 #include "vm/assembler.h" |
| 9 #include "vm/longjump.h" | 9 #include "vm/longjump.h" |
| 10 #include "vm/runtime_entry.h" | 10 #include "vm/runtime_entry.h" |
| 11 #include "vm/simulator.h" | 11 #include "vm/simulator.h" |
| 12 #include "vm/stack_frame.h" | 12 #include "vm/stack_frame.h" |
| 13 #include "vm/stub_code.h" | 13 #include "vm/stub_code.h" |
| 14 | 14 |
| 15 // An extra check since we are assuming the existence of /proc/cpuinfo below. | 15 // An extra check since we are assuming the existence of /proc/cpuinfo below. |
| 16 #if !defined(USING_SIMULATOR) && !defined(__linux__) && !defined(ANDROID) | 16 #if !defined(USING_SIMULATOR) && !defined(__linux__) |
| 17 #error ARM cross-compile only supported on Linux | 17 #error ARM cross-compile only supported on Linux |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 namespace dart { | 20 namespace dart { |
| 21 | 21 |
| 22 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message."); | 22 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message."); |
| 23 DECLARE_FLAG(bool, inline_alloc); | 23 DECLARE_FLAG(bool, inline_alloc); |
| 24 | 24 |
| 25 bool CPUFeatures::integer_division_supported_ = false; | 25 bool CPUFeatures::integer_division_supported_ = false; |
| 26 bool CPUFeatures::neon_supported_ = false; | 26 bool CPUFeatures::neon_supported_ = false; |
| (...skipping 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2730 | 2730 |
| 2731 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 2731 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
| 2732 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 2732 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
| 2733 return fpu_reg_names[reg]; | 2733 return fpu_reg_names[reg]; |
| 2734 } | 2734 } |
| 2735 | 2735 |
| 2736 } // namespace dart | 2736 } // namespace dart |
| 2737 | 2737 |
| 2738 #endif // defined TARGET_ARCH_ARM | 2738 #endif // defined TARGET_ARCH_ARM |
| 2739 | 2739 |
| OLD | NEW |