OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 library runtime_configuration; | 5 library runtime_configuration; |
6 | 6 |
7 import 'compiler_configuration.dart' show CommandArtifact; | 7 import 'compiler_configuration.dart' show CommandArtifact; |
8 | 8 |
9 // TODO(ahe): Remove this import, we can precompute all the values required | 9 // TODO(ahe): Remove this import, we can precompute all the values required |
10 // from TestSuite once the refactoring is complete. | 10 // from TestSuite once the refactoring is complete. |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 case 'simarm': | 165 case 'simarm': |
166 case 'arm': | 166 case 'arm': |
167 case 'simarmv6': | 167 case 'simarmv6': |
168 case 'armv6': | 168 case 'armv6': |
169 case ' simarmv5te': | 169 case ' simarmv5te': |
170 case 'armv5te': | 170 case 'armv5te': |
171 case 'simmips': | 171 case 'simmips': |
172 case 'mips': | 172 case 'mips': |
173 case 'simarm64': | 173 case 'simarm64': |
174 case 'simdbc': | 174 case 'simdbc': |
| 175 case 'simdbc64': |
175 multiplier *= 4; | 176 multiplier *= 4; |
176 break; | 177 break; |
177 } | 178 } |
178 if (mode == 'debug') { | 179 if (mode == 'debug') { |
179 multiplier *= 2; | 180 multiplier *= 2; |
180 } | 181 } |
181 return multiplier; | 182 return multiplier; |
182 } | 183 } |
183 } | 184 } |
184 | 185 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { | 273 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { |
273 List<Command> computeRuntimeCommands( | 274 List<Command> computeRuntimeCommands( |
274 TestSuite suite, | 275 TestSuite suite, |
275 CommandBuilder commandBuilder, | 276 CommandBuilder commandBuilder, |
276 CommandArtifact artifact, | 277 CommandArtifact artifact, |
277 List<String> arguments, | 278 List<String> arguments, |
278 Map<String, String> environmentOverrides) { | 279 Map<String, String> environmentOverrides) { |
279 throw "Unimplemented runtime '$runtimeType'"; | 280 throw "Unimplemented runtime '$runtimeType'"; |
280 } | 281 } |
281 } | 282 } |
OLD | NEW |