| 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" // Needed here to get TARGET_ARCH_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
| 9 | 9 |
| 10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 51 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
| 52 return TargetCPUFeatures::neon_supported() && FLAG_enable_simd_inline; | 52 return TargetCPUFeatures::neon_supported() && FLAG_enable_simd_inline; |
| 53 } | 53 } |
| 54 | 54 |
| 55 | 55 |
| 56 bool FlowGraphCompiler::SupportsSinCos() { | 56 bool FlowGraphCompiler::SupportsSinCos() { |
| 57 return false; | 57 return false; |
| 58 } | 58 } |
| 59 | 59 |
| 60 | 60 |
| 61 intptr_t FlowGraphCompiler::PlatformBlockedRegisterMask() { |
| 62 COMPILE_ASSERT(TMP2 == kNoRegister); |
| 63 return 1 << CTX | 1 << SPREG | 1 << FPREG | 1 << TMP | 1 << PP; |
| 64 } |
| 65 |
| 66 |
| 61 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 67 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
| 62 DeoptInfoBuilder* builder, | 68 DeoptInfoBuilder* builder, |
| 63 const Array& deopt_table) { | 69 const Array& deopt_table) { |
| 64 if (deopt_env_ == NULL) { | 70 if (deopt_env_ == NULL) { |
| 65 return DeoptInfo::null(); | 71 return DeoptInfo::null(); |
| 66 } | 72 } |
| 67 | 73 |
| 68 intptr_t stack_height = compiler->StackSize(); | 74 intptr_t stack_height = compiler->StackSize(); |
| 69 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); | 75 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); |
| 70 | 76 |
| (...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1788 DRegister dreg = EvenDRegisterOf(reg); | 1794 DRegister dreg = EvenDRegisterOf(reg); |
| 1789 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1795 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1790 } | 1796 } |
| 1791 | 1797 |
| 1792 | 1798 |
| 1793 #undef __ | 1799 #undef __ |
| 1794 | 1800 |
| 1795 } // namespace dart | 1801 } // namespace dart |
| 1796 | 1802 |
| 1797 #endif // defined TARGET_ARCH_ARM | 1803 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |