| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_DBC. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_DBC. |
| 6 #if defined(TARGET_ARCH_DBC) | 6 #if defined(TARGET_ARCH_DBC) |
| 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 11 matching lines...) Expand all Loading... |
| 22 #include "vm/symbols.h" | 22 #include "vm/symbols.h" |
| 23 | 23 |
| 24 namespace dart { | 24 namespace dart { |
| 25 | 25 |
| 26 DEFINE_FLAG(bool, trap_on_deoptimization, false, "Trap on deoptimization."); | 26 DEFINE_FLAG(bool, trap_on_deoptimization, false, "Trap on deoptimization."); |
| 27 DEFINE_FLAG(bool, unbox_mints, true, "Optimize 64-bit integer arithmetic."); | 27 DEFINE_FLAG(bool, unbox_mints, true, "Optimize 64-bit integer arithmetic."); |
| 28 DEFINE_FLAG(bool, unbox_doubles, true, "Optimize double arithmetic."); | 28 DEFINE_FLAG(bool, unbox_doubles, true, "Optimize double arithmetic."); |
| 29 DECLARE_FLAG(bool, enable_simd_inline); | 29 DECLARE_FLAG(bool, enable_simd_inline); |
| 30 DECLARE_FLAG(charp, optimization_filter); | 30 DECLARE_FLAG(charp, optimization_filter); |
| 31 | 31 |
| 32 void MegamorphicSlowPath::EmitNativeCode(FlowGraphCompiler* compiler) { | |
| 33 UNIMPLEMENTED(); | |
| 34 } | |
| 35 | |
| 36 | |
| 37 FlowGraphCompiler::~FlowGraphCompiler() { | 32 FlowGraphCompiler::~FlowGraphCompiler() { |
| 38 // BlockInfos are zone-allocated, so their destructors are not called. | 33 // BlockInfos are zone-allocated, so their destructors are not called. |
| 39 // Verify the labels explicitly here. | 34 // Verify the labels explicitly here. |
| 40 for (int i = 0; i < block_info_.length(); ++i) { | 35 for (int i = 0; i < block_info_.length(); ++i) { |
| 41 ASSERT(!block_info_[i]->jump_label()->IsLinked()); | 36 ASSERT(!block_info_[i]->jump_label()->IsLinked()); |
| 42 } | 37 } |
| 43 } | 38 } |
| 44 | 39 |
| 45 | 40 |
| 46 bool FlowGraphCompiler::SupportsUnboxedDoubles() { | 41 bool FlowGraphCompiler::SupportsUnboxedDoubles() { |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 526 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 532 UNIMPLEMENTED(); | 527 UNIMPLEMENTED(); |
| 533 } | 528 } |
| 534 | 529 |
| 535 | 530 |
| 536 #undef __ | 531 #undef __ |
| 537 | 532 |
| 538 } // namespace dart | 533 } // namespace dart |
| 539 | 534 |
| 540 #endif // defined TARGET_ARCH_DBC | 535 #endif // defined TARGET_ARCH_DBC |
| OLD | NEW |