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

Side by Side Diff: lib/compiler/implementation/enqueue.dart

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
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 part of dart2js;
6
5 class EnqueueTask extends CompilerTask { 7 class EnqueueTask extends CompilerTask {
6 final Enqueuer codegen; 8 final Enqueuer codegen;
7 final Enqueuer resolution; 9 final Enqueuer resolution;
8 10
9 String get name => 'Enqueue'; 11 String get name => 'Enqueue';
10 12
11 EnqueueTask(Compiler compiler) 13 EnqueueTask(Compiler compiler)
12 : codegen = new Enqueuer('codegen enqueuer', compiler, 14 : codegen = new Enqueuer('codegen enqueuer', compiler,
13 compiler.backend.createItemCompilationContext), 15 compiler.backend.createItemCompilationContext),
14 resolution = new Enqueuer('resolution enqueuer', compiler, 16 resolution = new Enqueuer('resolution enqueuer', compiler,
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 364
363 String toString() => 'Enqueuer($name)'; 365 String toString() => 'Enqueuer($name)';
364 366
365 registerUsedSelector(Selector selector) { 367 registerUsedSelector(Selector selector) {
366 Element interceptor = compiler.backend.getInterceptor(selector); 368 Element interceptor = compiler.backend.getInterceptor(selector);
367 if (interceptor != null) { 369 if (interceptor != null) {
368 registerStaticUse(interceptor); 370 registerStaticUse(interceptor);
369 } 371 }
370 } 372 }
371 } 373 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/diagnostic_listener.dart ('k') | lib/compiler/implementation/js/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698