| 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" |
| 11 #include "vm/compiler.h" | 11 #include "vm/compiler.h" |
| 12 #include "vm/cpu.h" | 12 #include "vm/cpu.h" |
| 13 #include "vm/dart_entry.h" | 13 #include "vm/dart_entry.h" |
| 14 #include "vm/deopt_instructions.h" | 14 #include "vm/deopt_instructions.h" |
| 15 #include "vm/il_printer.h" | 15 #include "vm/il_printer.h" |
| 16 #include "vm/instructions.h" | 16 #include "vm/instructions.h" |
| 17 #include "vm/locations.h" | 17 #include "vm/locations.h" |
| 18 #include "vm/object_store.h" | 18 #include "vm/object_store.h" |
| 19 #include "vm/parser.h" | 19 #include "vm/parser.h" |
| 20 #include "vm/stack_frame.h" | 20 #include "vm/stack_frame.h" |
| 21 #include "vm/stub_code.h" | 21 #include "vm/stub_code.h" |
| 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(bool, use_megamorphic_stub); | |
| 31 DECLARE_FLAG(charp, optimization_filter); | 30 DECLARE_FLAG(charp, optimization_filter); |
| 32 | 31 |
| 33 void MegamorphicSlowPath::EmitNativeCode(FlowGraphCompiler* compiler) { | 32 void MegamorphicSlowPath::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 34 UNIMPLEMENTED(); | 33 UNIMPLEMENTED(); |
| 35 } | 34 } |
| 36 | 35 |
| 37 | 36 |
| 38 FlowGraphCompiler::~FlowGraphCompiler() { | 37 FlowGraphCompiler::~FlowGraphCompiler() { |
| 39 // BlockInfos are zone-allocated, so their destructors are not called. | 38 // BlockInfos are zone-allocated, so their destructors are not called. |
| 40 // Verify the labels explicitly here. | 39 // Verify the labels explicitly here. |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 515 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 517 UNIMPLEMENTED(); | 516 UNIMPLEMENTED(); |
| 518 } | 517 } |
| 519 | 518 |
| 520 | 519 |
| 521 #undef __ | 520 #undef __ |
| 522 | 521 |
| 523 } // namespace dart | 522 } // namespace dart |
| 524 | 523 |
| 525 #endif // defined TARGET_ARCH_DBC | 524 #endif // defined TARGET_ARCH_DBC |
| OLD | NEW |