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

Unified Diff: pkg/analyzer/lib/src/fasta/analyzer_loader.dart

Issue 2924333002: Use ClassHierarchy.applyChanges() in MixinFullResolution. (Closed)
Patch Set: Changes for review comments. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/kernel/lib/class_hierarchy.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/fasta/analyzer_loader.dart
diff --git a/pkg/analyzer/lib/src/fasta/analyzer_loader.dart b/pkg/analyzer/lib/src/fasta/analyzer_loader.dart
index f7878293d8996b0059aaf1920beb872fa7a453bd..3c7554bac580654cd9418af3da7a9438bedfaab0 100644
--- a/pkg/analyzer/lib/src/fasta/analyzer_loader.dart
+++ b/pkg/analyzer/lib/src/fasta/analyzer_loader.dart
@@ -23,6 +23,7 @@ import 'package:analyzer/src/fasta/element_store.dart' show ElementStore;
import 'analyzer_diet_listener.dart' show AnalyzerDietListener;
import 'package:kernel/core_types.dart' show CoreTypes;
+import 'package:kernel/src/incremental_class_hierarchy.dart';
class AnalyzerLoader<L> extends SourceLoader<L> {
ElementStore elementStore;
@@ -34,6 +35,8 @@ class AnalyzerLoader<L> extends SourceLoader<L> {
void computeHierarchy(Program program) {
elementStore = new ElementStore(coreLibrary, builders);
ticker.logMs("Built analyzer element model.");
+ hierarchy = new IncrementalClassHierarchy();
+ ticker.logMs("Computed class hierarchy");
coreTypes = new CoreTypes(program);
ticker.logMs("Computed core types");
}
« no previous file with comments | « no previous file | pkg/kernel/lib/class_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698