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

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.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_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 bool FlowGraphCompiler::SupportsSinCos() { 66 bool FlowGraphCompiler::SupportsSinCos() {
67 return false; 67 return false;
68 } 68 }
69 69
70 70
71 bool FlowGraphCompiler::SupportsHardwareDivision() { 71 bool FlowGraphCompiler::SupportsHardwareDivision() {
72 return true; 72 return true;
73 } 73 }
74 74
75 75
76 bool FlowGraphCompiler::CanConvertUnboxedMintToDouble() {
77 // TODO(johnmccutchan): Investigate possibility on MIPS once
78 // mints are implemented there.
79 return false;
80 }
81
82
76 void FlowGraphCompiler::EnterIntrinsicMode() { 83 void FlowGraphCompiler::EnterIntrinsicMode() {
77 ASSERT(!intrinsic_mode()); 84 ASSERT(!intrinsic_mode());
78 intrinsic_mode_ = true; 85 intrinsic_mode_ = true;
79 assembler()->set_constant_pool_allowed(false); 86 assembler()->set_constant_pool_allowed(false);
80 } 87 }
81 88
82 89
83 void FlowGraphCompiler::ExitIntrinsicMode() { 90 void FlowGraphCompiler::ExitIntrinsicMode() {
84 ASSERT(intrinsic_mode()); 91 ASSERT(intrinsic_mode());
85 intrinsic_mode_ = false; 92 intrinsic_mode_ = false;
(...skipping 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after
1902 __ AddImmediate(SP, kDoubleSize); 1909 __ AddImmediate(SP, kDoubleSize);
1903 } 1910 }
1904 1911
1905 1912
1906 #undef __ 1913 #undef __
1907 1914
1908 1915
1909 } // namespace dart 1916 } // namespace dart
1910 1917
1911 #endif // defined TARGET_ARCH_MIPS 1918 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698