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

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

Issue 1059493002: Fixes bug in typed data read/write for floats and doubles. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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/method_recognizer.h ('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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 : super._subclass(); 162 : super._subclass();
163 163
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 'armv5te':
172 case 'simmips': 173 case 'simmips':
173 case 'mips': 174 case 'mips':
174 case 'simarm64': 175 case 'simarm64':
175 multiplier *= 4; 176 multiplier *= 4;
176 break; 177 break;
177 } 178 }
178 if (isDebug) { 179 if (isDebug) {
179 multiplier *= 2; 180 multiplier *= 2;
180 } 181 }
181 return multiplier; 182 return multiplier;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { 223 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration {
223 List<Command> computeRuntimeCommands( 224 List<Command> computeRuntimeCommands(
224 TestSuite suite, 225 TestSuite suite,
225 CommandBuilder commandBuilder, 226 CommandBuilder commandBuilder,
226 CommandArtifact artifact, 227 CommandArtifact artifact,
227 List<String> arguments, 228 List<String> arguments,
228 Map<String, String> environmentOverrides) { 229 Map<String, String> environmentOverrides) {
229 throw "Unimplemented runtime '$runtimeType'"; 230 throw "Unimplemented runtime '$runtimeType'";
230 } 231 }
231 } 232 }
OLDNEW
« no previous file with comments | « runtime/vm/method_recognizer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698