| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 | 58 |
| 59 bool FlowGraphCompiler::SupportsHardwareDivision() { | 59 bool FlowGraphCompiler::SupportsHardwareDivision() { |
| 60 return true; | 60 return true; |
| 61 } | 61 } |
| 62 | 62 |
| 63 | 63 |
| 64 void FlowGraphCompiler::EnterIntrinsicMode() { | 64 void FlowGraphCompiler::EnterIntrinsicMode() { |
| 65 ASSERT(!intrinsic_mode()); | 65 ASSERT(!intrinsic_mode()); |
| 66 intrinsic_mode_ = true; | 66 intrinsic_mode_ = true; |
| 67 assembler()->set_allow_constant_pool(false); | 67 assembler()->set_constant_pool_allowed(false); |
| 68 } | 68 } |
| 69 | 69 |
| 70 | 70 |
| 71 void FlowGraphCompiler::ExitIntrinsicMode() { | 71 void FlowGraphCompiler::ExitIntrinsicMode() { |
| 72 ASSERT(intrinsic_mode()); | 72 ASSERT(intrinsic_mode()); |
| 73 intrinsic_mode_ = false; | 73 intrinsic_mode_ = false; |
| 74 assembler()->set_allow_constant_pool(true); | 74 assembler()->set_constant_pool_allowed(true); |
| 75 } | 75 } |
| 76 | 76 |
| 77 | 77 |
| 78 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 78 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
| 79 DeoptInfoBuilder* builder, | 79 DeoptInfoBuilder* builder, |
| 80 const Array& deopt_table) { | 80 const Array& deopt_table) { |
| 81 if (deopt_env_ == NULL) { | 81 if (deopt_env_ == NULL) { |
| 82 ++builder->current_info_number_; | 82 ++builder->current_info_number_; |
| 83 return TypedData::null(); | 83 return TypedData::null(); |
| 84 } | 84 } |
| (...skipping 1762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1847 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1847 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 1848 __ PopDouble(reg); | 1848 __ PopDouble(reg); |
| 1849 } | 1849 } |
| 1850 | 1850 |
| 1851 | 1851 |
| 1852 #undef __ | 1852 #undef __ |
| 1853 | 1853 |
| 1854 } // namespace dart | 1854 } // namespace dart |
| 1855 | 1855 |
| 1856 #endif // defined TARGET_ARCH_ARM64 | 1856 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |