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

Side by Side Diff: pkg/front_end/lib/src/fasta/source/source_loader.dart

Issue 2682333004: Remove convertConstructors. (Closed)
Patch Set: Long line. Created 3 years, 10 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library fasta.source_loader; 5 library fasta.source_loader;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:io' show 10 import 'dart:io' show
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 void resolveTypes() { 223 void resolveTypes() {
224 int typeCount = 0; 224 int typeCount = 0;
225 builders.forEach((Uri uri, LibraryBuilder library) { 225 builders.forEach((Uri uri, LibraryBuilder library) {
226 typeCount += library.resolveTypes(null); 226 typeCount += library.resolveTypes(null);
227 }); 227 });
228 ticker.logMs("Resolved $typeCount types"); 228 ticker.logMs("Resolved $typeCount types");
229 } 229 }
230 230
231 void convertConstructors() {
232 int count = 0;
233 builders.forEach((Uri uri, LibraryBuilder library) {
234 count += library.convertConstructors(null);
235 });
236 ticker.logMs("Converted $count constructors");
237 }
238
239 void finishStaticInvocations() { 231 void finishStaticInvocations() {
240 int count = 0; 232 int count = 0;
241 builders.forEach((Uri uri, LibraryBuilder library) { 233 builders.forEach((Uri uri, LibraryBuilder library) {
242 count += library.finishStaticInvocations(); 234 count += library.finishStaticInvocations();
243 }); 235 });
244 ticker.logMs("Finished static invocations $count"); 236 ticker.logMs("Finished static invocations $count");
245 } 237 }
246 238
247 void resolveConstructors() { 239 void resolveConstructors() {
248 int count = 0; 240 int count = 0;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 ticker.logMs("Built analyzer element model."); 338 ticker.logMs("Built analyzer element model.");
347 } 339 }
348 340
349 void computeHierarchy(Program program) { 341 void computeHierarchy(Program program) {
350 hierarchy = new ClassHierarchy(program); 342 hierarchy = new ClassHierarchy(program);
351 ticker.logMs("Computed class hierarchy"); 343 ticker.logMs("Computed class hierarchy");
352 coreTypes = new CoreTypes(program); 344 coreTypes = new CoreTypes(program);
353 ticker.logMs("Computed core types"); 345 ticker.logMs("Computed core types");
354 } 346 }
355 } 347 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698