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

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

Issue 2927523002: Replace ClosedWorldClassHierarchy with IncrementalClassHierarchy in SourceLoader. (Closed)
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/source/source_loader.dart
diff --git a/pkg/front_end/lib/src/fasta/source/source_loader.dart b/pkg/front_end/lib/src/fasta/source/source_loader.dart
index e501184da433b2a4857cdd2f0b4dcf6a3bf10206..a7fa441b63363a8e552eb9967f5f47013b6bf2b3 100644
--- a/pkg/front_end/lib/src/fasta/source/source_loader.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_loader.dart
@@ -22,11 +22,13 @@ import 'package:front_end/src/fasta/type_inference/type_inference_engine.dart'
import 'package:kernel/ast.dart' show Program;
-import 'package:kernel/class_hierarchy.dart'
- show ClassHierarchy, ClosedWorldClassHierarchy;
+import 'package:kernel/class_hierarchy.dart' show ClassHierarchy;
import 'package:kernel/core_types.dart' show CoreTypes;
+import 'package:kernel/src/incremental_class_hierarchy.dart'
+ show IncrementalClassHierarchy;
+
import '../builder/builder.dart'
show
Builder,
@@ -441,7 +443,7 @@ class SourceLoader<L> extends Loader<L> {
}
void computeHierarchy(Program program) {
- hierarchy = new ClosedWorldClassHierarchy(program);
+ 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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698