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_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
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/dart_entry.h" | 12 #include "vm/dart_entry.h" |
13 #include "vm/deopt_instructions.h" | 13 #include "vm/deopt_instructions.h" |
14 #include "vm/il_printer.h" | 14 #include "vm/il_printer.h" |
15 #include "vm/instructions.h" | 15 #include "vm/instructions.h" |
16 #include "vm/locations.h" | 16 #include "vm/locations.h" |
17 #include "vm/object_store.h" | 17 #include "vm/object_store.h" |
18 #include "vm/parser.h" | 18 #include "vm/parser.h" |
19 #include "vm/stack_frame.h" | 19 #include "vm/stack_frame.h" |
20 #include "vm/stub_code.h" | 20 #include "vm/stub_code.h" |
21 #include "vm/symbols.h" | 21 #include "vm/symbols.h" |
22 #include "vm/verified_memory.h" | |
23 | 22 |
24 namespace dart { | 23 namespace dart { |
25 | 24 |
26 DEFINE_FLAG(bool, trap_on_deoptimization, false, "Trap on deoptimization."); | 25 DEFINE_FLAG(bool, trap_on_deoptimization, false, "Trap on deoptimization."); |
27 DEFINE_FLAG(bool, unbox_mints, true, "Optimize 64-bit integer arithmetic."); | 26 DEFINE_FLAG(bool, unbox_mints, true, "Optimize 64-bit integer arithmetic."); |
28 DECLARE_FLAG(bool, enable_simd_inline); | 27 DECLARE_FLAG(bool, enable_simd_inline); |
29 DECLARE_FLAG(bool, use_megamorphic_stub); | 28 DECLARE_FLAG(bool, use_megamorphic_stub); |
30 | 29 |
31 void MegamorphicSlowPath::EmitNativeCode(FlowGraphCompiler* compiler) { | 30 void MegamorphicSlowPath::EmitNativeCode(FlowGraphCompiler* compiler) { |
32 Assembler* assembler = compiler->assembler(); | 31 Assembler* assembler = compiler->assembler(); |
(...skipping 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1868 __ movups(reg, Address(RSP, 0)); | 1867 __ movups(reg, Address(RSP, 0)); |
1869 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); | 1868 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); |
1870 } | 1869 } |
1871 | 1870 |
1872 | 1871 |
1873 #undef __ | 1872 #undef __ |
1874 | 1873 |
1875 } // namespace dart | 1874 } // namespace dart |
1876 | 1875 |
1877 #endif // defined TARGET_ARCH_X64 | 1876 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |