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

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

Issue 1212433002: Implement SsaBuilder without the ResolvedVisitor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa.dart ('k') | pkg/compiler/lib/src/warnings.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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 useScript(dart2jslib.Script script) { 283 useScript(dart2jslib.Script script) {
284 script.copyWithFile(null); 284 script.copyWithFile(null);
285 } 285 }
286 286
287 useProgramBuilder(program_builder.ProgramBuilder builder) { 287 useProgramBuilder(program_builder.ProgramBuilder builder) {
288 builder.buildMethodHackForIncrementalCompilation(null); 288 builder.buildMethodHackForIncrementalCompilation(null);
289 builder.buildFieldsHackForIncrementalCompilation(null); 289 builder.buildFieldsHackForIncrementalCompilation(null);
290 } 290 }
291 291
292 useSemanticVisitor() { 292 useSemanticVisitor() {
293 new semantic_visitor.BulkSendVisitor().apply(null, null); 293 new semantic_visitor.BulkSendVisitor()
294 ..apply(null, null)
295 ..visitSuperFieldFieldCompound(null, null, null, null, null, null);
294 new semantic_visitor.TraversalVisitor(null).apply(null, null); 296 new semantic_visitor.TraversalVisitor(null).apply(null, null);
295 new semantic_visitor.BulkDeclarationVisitor().apply(null, null); 297 new semantic_visitor.BulkDeclarationVisitor().apply(null, null);
296 } 298 }
297 299
298 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 300 class TreeVisitor1 extends tree_ir.ExpressionVisitor1
299 with tree_ir.StatementVisitor1 { 301 with tree_ir.StatementVisitor1 {
300 noSuchMethod(inv) {} 302 noSuchMethod(inv) {}
301 } 303 }
302 304
303 useTreeVisitors() { 305 useTreeVisitors() {
304 new TreeVisitor1().visitExpression(null, null); 306 new TreeVisitor1().visitExpression(null, null);
305 new TreeVisitor1().visitStatement(null, null); 307 new TreeVisitor1().visitStatement(null, null);
306 } 308 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa.dart ('k') | pkg/compiler/lib/src/warnings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698