| 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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 48 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
| 49 return FLAG_enable_simd_inline; | 49 return FLAG_enable_simd_inline; |
| 50 } | 50 } |
| 51 | 51 |
| 52 | 52 |
| 53 bool FlowGraphCompiler::SupportsSinCos() { | 53 bool FlowGraphCompiler::SupportsSinCos() { |
| 54 return false; | 54 return false; |
| 55 } | 55 } |
| 56 | 56 |
| 57 | 57 |
| 58 void FlowGraphCompiler::EnterIntrinsicMode() { |
| 59 ASSERT(!intrinsic_mode()); |
| 60 intrinsic_mode_ = true; |
| 61 assembler()->set_allow_constant_pool(false); |
| 62 } |
| 63 |
| 64 |
| 65 void FlowGraphCompiler::ExitIntrinsicMode() { |
| 66 ASSERT(intrinsic_mode()); |
| 67 intrinsic_mode_ = false; |
| 68 assembler()->set_allow_constant_pool(true); |
| 69 } |
| 70 |
| 71 |
| 58 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 72 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
| 59 DeoptInfoBuilder* builder, | 73 DeoptInfoBuilder* builder, |
| 60 const Array& deopt_table) { | 74 const Array& deopt_table) { |
| 61 if (deopt_env_ == NULL) { | 75 if (deopt_env_ == NULL) { |
| 62 return DeoptInfo::null(); | 76 return DeoptInfo::null(); |
| 63 } | 77 } |
| 64 | 78 |
| 65 intptr_t stack_height = compiler->StackSize(); | 79 intptr_t stack_height = compiler->StackSize(); |
| 66 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); | 80 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); |
| 67 | 81 |
| (...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1753 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1767 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 1754 __ PopDouble(reg); | 1768 __ PopDouble(reg); |
| 1755 } | 1769 } |
| 1756 | 1770 |
| 1757 | 1771 |
| 1758 #undef __ | 1772 #undef __ |
| 1759 | 1773 |
| 1760 } // namespace dart | 1774 } // namespace dart |
| 1761 | 1775 |
| 1762 #endif // defined TARGET_ARCH_ARM64 | 1776 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |