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

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

Issue 1062913003: Extract CallStructure from Selector. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix expentancy in unittest 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 | « pkg/compiler/lib/src/universe/universe.dart ('k') | pkg/compiler/lib/src/util/util.dart » ('j') | 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 29 matching lines...) Expand all
40 PartialClassElement, 40 PartialClassElement,
41 PartialFunctionElement; 41 PartialFunctionElement;
42 42
43 class ElementVisitor extends elements_visitor.ElementVisitor { 43 class ElementVisitor extends elements_visitor.ElementVisitor {
44 visitElement(e) {} 44 visitElement(e) {}
45 } 45 }
46 46
47 void main(List<String> arguments) { 47 void main(List<String> arguments) {
48 useApi(); 48 useApi();
49 dart2js.main(arguments); 49 dart2js.main(arguments);
50 dart2jslib.isPublicName(null);
50 useConstant(null, null); 51 useConstant(null, null);
51 useNode(null); 52 useNode(null);
52 useUtil(null); 53 useUtil(null);
53 useSetlet(null); 54 useSetlet(null);
54 useImmutableEmptySet(null); 55 useImmutableEmptySet(null);
55 useElementVisitor(new ElementVisitor()); 56 useElementVisitor(new ElementVisitor());
56 useJsNode(new js.Program(null)); 57 useJsNode(new js.Program(null));
57 useJsNode(new js.NamedFunction(null, null)); 58 useJsNode(new js.NamedFunction(null, null));
58 useJsNode(new js.ArrayHole()); 59 useJsNode(new js.ArrayHole());
59 useJsOther(new js.SimpleJavaScriptPrintingContext()); 60 useJsOther(new js.SimpleJavaScriptPrintingContext());
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 280
280 useProgramBuilder(program_builder.ProgramBuilder builder) { 281 useProgramBuilder(program_builder.ProgramBuilder builder) {
281 builder.buildMethodHackForIncrementalCompilation(null); 282 builder.buildMethodHackForIncrementalCompilation(null);
282 builder.buildFieldsHackForIncrementalCompilation(null); 283 builder.buildFieldsHackForIncrementalCompilation(null);
283 } 284 }
284 285
285 useSemanticVisitor() { 286 useSemanticVisitor() {
286 new semantic_visitor.BulkVisitor().apply(null, null); 287 new semantic_visitor.BulkVisitor().apply(null, null);
287 new semantic_visitor.TraversalVisitor(null).apply(null, null); 288 new semantic_visitor.TraversalVisitor(null).apply(null, null);
288 } 289 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/universe.dart ('k') | pkg/compiler/lib/src/util/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698