| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 switch (arch) { | 164 switch (arch) { |
| 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 multiplier *= 4; | 175 multiplier *= 4; |
| 175 break; | 176 break; |
| 176 } | 177 } |
| 177 if (mode == 'debug') { | 178 if (mode == 'debug') { |
| 178 multiplier *= 2; | 179 multiplier *= 2; |
| 179 } | 180 } |
| 180 return multiplier; | 181 return multiplier; |
| 181 } | 182 } |
| 182 } | 183 } |
| 183 | 184 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { | 272 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { |
| 272 List<Command> computeRuntimeCommands( | 273 List<Command> computeRuntimeCommands( |
| 273 TestSuite suite, | 274 TestSuite suite, |
| 274 CommandBuilder commandBuilder, | 275 CommandBuilder commandBuilder, |
| 275 CommandArtifact artifact, | 276 CommandArtifact artifact, |
| 276 List<String> arguments, | 277 List<String> arguments, |
| 277 Map<String, String> environmentOverrides) { | 278 Map<String, String> environmentOverrides) { |
| 278 throw "Unimplemented runtime '$runtimeType'"; | 279 throw "Unimplemented runtime '$runtimeType'"; |
| 279 } | 280 } |
| 280 } | 281 } |
| OLD | NEW |