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

Side by Side Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 1173423002: dart2js: Fix minor indentation issues. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « pkg/compiler/lib/src/source_file_provider.dart ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /// This file use methods that aren't used by dart2js.dart, but that we wish to 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to
6 /// keep anyway. This might be general API that isn't currently in use, 6 /// keep anyway. This might be general API that isn't currently in use,
7 /// debugging aids, or API only used for testing (see TODO below). 7 /// debugging aids, or API only used for testing (see TODO below).
8 8
9 library dart2js.use_unused_api; 9 library dart2js.use_unused_api;
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 useCodeEmitterTask(null); 75 useCodeEmitterTask(null);
76 useScript(null); 76 useScript(null);
77 useProgramBuilder(null); 77 useProgramBuilder(null);
78 useSemanticVisitor(); 78 useSemanticVisitor();
79 useTreeVisitors(); 79 useTreeVisitors();
80 } 80 }
81 81
82 useApi(api.ReadStringFromUri uri) { 82 useApi(api.ReadStringFromUri uri) {
83 } 83 }
84 84
85
86
87 void useConstant(constants.ConstantValue constant, 85 void useConstant(constants.ConstantValue constant,
88 constants.ConstantExpression expression, 86 constants.ConstantExpression expression,
89 constants.ConstructedConstantExpression constructedConstant, 87 constants.ConstructedConstantExpression constructedConstant,
90 constants.ConstantSystem cs, 88 constants.ConstantSystem cs,
91 constants.Environment env) { 89 constants.Environment env) {
92 constant.isObject; 90 constant.isObject;
93 cs.isBool(constant); 91 cs.isBool(constant);
94 constructedConstant.computeInstanceType(); 92 constructedConstant.computeInstanceType();
95 constructedConstant.computeInstanceFields(); 93 constructedConstant.computeInstanceFields();
96 expression.evaluate(null, null); 94 expression.evaluate(null, null);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 301
304 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 302 class TreeVisitor1 extends tree_ir.ExpressionVisitor1
305 with tree_ir.StatementVisitor1 { 303 with tree_ir.StatementVisitor1 {
306 noSuchMethod(inv) {} 304 noSuchMethod(inv) {}
307 } 305 }
308 306
309 useTreeVisitors() { 307 useTreeVisitors() {
310 new TreeVisitor1().visitExpression(null, null); 308 new TreeVisitor1().visitExpression(null, null);
311 new TreeVisitor1().visitStatement(null, null); 309 new TreeVisitor1().visitStatement(null, null);
312 } 310 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/source_file_provider.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698