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

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

Issue 1250633002: Add operators test to source_mapping_test. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanup Created 5 years, 5 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
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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 e.lookupInterfaceMember(null); 277 e.lookupInterfaceMember(null);
278 n.isAccessibleFrom(null); 278 n.isAccessibleFrom(null);
279 f.reuseElement(); 279 f.reuseElement();
280 pce.copyWithEnclosing(null); 280 pce.copyWithEnclosing(null);
281 pfe.copyWithEnclosing(null); 281 pfe.copyWithEnclosing(null);
282 l.forEachImport(null); 282 l.forEachImport(null);
283 } 283 }
284 284
285 useIr(ir_builder.IrBuilder builder) { 285 useIr(ir_builder.IrBuilder builder) {
286 builder 286 builder
287 ..buildStringConstant(null) 287 ..buildStringConstant(null);
288 ..buildDynamicGet(null, null, null);
289 } 288 }
290 289
291 useCompiler(dart2jslib.Compiler compiler) { 290 useCompiler(dart2jslib.Compiler compiler) {
292 compiler.libraryLoader 291 compiler.libraryLoader
293 ..reset() 292 ..reset()
294 ..resetAsync(null) 293 ..resetAsync(null)
295 ..lookupLibrary(null); 294 ..lookupLibrary(null);
296 compiler.forgetElement(null); 295 compiler.forgetElement(null);
297 compiler.backend.constantCompilerTask.copyConstantValues(null); 296 compiler.backend.constantCompilerTask.copyConstantValues(null);
298 } 297 }
(...skipping 29 matching lines...) Expand all
328 327
329 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 328 class TreeVisitor1 extends tree_ir.ExpressionVisitor1
330 with tree_ir.StatementVisitor1 { 329 with tree_ir.StatementVisitor1 {
331 noSuchMethod(inv) {} 330 noSuchMethod(inv) {}
332 } 331 }
333 332
334 useTreeVisitors() { 333 useTreeVisitors() {
335 new TreeVisitor1().visitExpression(null, null); 334 new TreeVisitor1().visitExpression(null, null);
336 new TreeVisitor1().visitStatement(null, null); 335 new TreeVisitor1().visitStatement(null, null);
337 } 336 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698