Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 1700103002: VM: Move representation selection code out of the flow graph optimizer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: remove some dead code Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/flow_graph_optimizer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool FlowGraphCompiler::SupportsSinCos() { 70 bool FlowGraphCompiler::SupportsSinCos() {
71 return true; 71 return true;
72 } 72 }
73 73
74 74
75 bool FlowGraphCompiler::SupportsHardwareDivision() { 75 bool FlowGraphCompiler::SupportsHardwareDivision() {
76 return true; 76 return true;
77 } 77 }
78 78
79 79
80 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
81 return false;
82 }
83
84
80 void FlowGraphCompiler::EnterIntrinsicMode() { 85 void FlowGraphCompiler::EnterIntrinsicMode() {
81 ASSERT(!intrinsic_mode()); 86 ASSERT(!intrinsic_mode());
82 intrinsic_mode_ = true; 87 intrinsic_mode_ = true;
83 ASSERT(!assembler()->constant_pool_allowed()); 88 ASSERT(!assembler()->constant_pool_allowed());
84 } 89 }
85 90
86 91
87 void FlowGraphCompiler::ExitIntrinsicMode() { 92 void FlowGraphCompiler::ExitIntrinsicMode() {
88 ASSERT(intrinsic_mode()); 93 ASSERT(intrinsic_mode());
89 intrinsic_mode_ = false; 94 intrinsic_mode_ = false;
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1815 __ movups(reg, Address(RSP, 0)); 1820 __ movups(reg, Address(RSP, 0));
1816 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); 1821 __ AddImmediate(RSP, Immediate(kFpuRegisterSize));
1817 } 1822 }
1818 1823
1819 1824
1820 #undef __ 1825 #undef __
1821 1826
1822 } // namespace dart 1827 } // namespace dart
1823 1828
1824 #endif // defined TARGET_ARCH_X64 1829 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/flow_graph_optimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698