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

Side by Side Diff: tools/testing/dart/runtime_configuration.dart

Issue 283833005: Fix bug on arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | no next file » | 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) 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 int computeTimeoutMultiplier({ 164 int computeTimeoutMultiplier({
165 bool isDebug: false, 165 bool isDebug: false,
166 bool isChecked: false, 166 bool isChecked: false,
167 String arch}) { 167 String arch}) {
168 int multiplier = 1; 168 int multiplier = 1;
169 switch (arch) { 169 switch (arch) {
170 case 'simarm': 170 case 'simarm':
171 case 'arm': 171 case 'arm':
172 case 'simmips': 172 case 'simmips':
173 case 'mips': 173 case 'mips':
174 case 'simarm64':
174 multiplier *= 4; 175 multiplier *= 4;
175 break; 176 break;
176 } 177 }
177 if (isDebug) { 178 if (isDebug) {
178 multiplier *= 2; 179 multiplier *= 2;
179 } 180 }
180 return multiplier; 181 return multiplier;
181 } 182 }
182 } 183 }
183 184
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { 222 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration {
222 List<Command> computeRuntimeCommands( 223 List<Command> computeRuntimeCommands(
223 TestSuite suite, 224 TestSuite suite,
224 CommandBuilder commandBuilder, 225 CommandBuilder commandBuilder,
225 CommandArtifact artifact, 226 CommandArtifact artifact,
226 List<String> arguments, 227 List<String> arguments,
227 Map<String, String> environmentOverrides) { 228 Map<String, String> environmentOverrides) {
228 throw "Unimplemented runtime '$runtimeType'"; 229 throw "Unimplemented runtime '$runtimeType'";
229 } 230 }
230 } 231 }
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698