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 | 7 import 'compiler_configuration.dart' show |
8 CommandArtifact; | 8 CommandArtifact; |
9 | 9 |
10 // TODO(ahe): Remove this import, we can precompute all the values required | 10 // TODO(ahe): Remove this import, we can precompute all the values required |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 switch (arch) { | 175 switch (arch) { |
176 case 'simarm': | 176 case 'simarm': |
177 case 'arm': | 177 case 'arm': |
178 case 'simarmv6': | 178 case 'simarmv6': |
179 case 'armv6': | 179 case 'armv6': |
180 case' simarmv5te': | 180 case' simarmv5te': |
181 case 'armv5te': | 181 case 'armv5te': |
182 case 'simmips': | 182 case 'simmips': |
183 case 'mips': | 183 case 'mips': |
184 case 'simarm64': | 184 case 'simarm64': |
| 185 case 'simdbc': |
185 multiplier *= 4; | 186 multiplier *= 4; |
186 break; | 187 break; |
187 } | 188 } |
188 if (mode == 'debug') { | 189 if (mode == 'debug') { |
189 multiplier *= 2; | 190 multiplier *= 2; |
190 } | 191 } |
191 return multiplier; | 192 return multiplier; |
192 } | 193 } |
193 } | 194 } |
194 | 195 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { | 285 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { |
285 List<Command> computeRuntimeCommands( | 286 List<Command> computeRuntimeCommands( |
286 TestSuite suite, | 287 TestSuite suite, |
287 CommandBuilder commandBuilder, | 288 CommandBuilder commandBuilder, |
288 CommandArtifact artifact, | 289 CommandArtifact artifact, |
289 List<String> arguments, | 290 List<String> arguments, |
290 Map<String, String> environmentOverrides) { | 291 Map<String, String> environmentOverrides) { |
291 throw "Unimplemented runtime '$runtimeType'"; | 292 throw "Unimplemented runtime '$runtimeType'"; |
292 } | 293 } |
293 } | 294 } |
OLD | NEW |