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

Unified Diff: pkg/compiler/lib/src/universe/resolution_world_builder.dart

Issue 2926863002: Handle parameters in compile_from_dill_test (Closed)
Patch Set: Fixes 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
Index: pkg/compiler/lib/src/universe/resolution_world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/resolution_world_builder.dart b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
index 1fb5ca910b9c3be4b0d7c8eb97ec4d3f331f53a7..b45c1c91c8accb2274d9333ef5a4d98c810b38dd 100644
--- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart
+++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
@@ -923,6 +923,8 @@ abstract class ResolutionWorldBuilderBase
// variables to the super constructor.
forEachInstantiatedClass(addSubtypes);
+ _classHierarchyNodes.keys.toList().forEach(_ensureClassSet);
+
return typesImplementedBySubclasses;
}
}
@@ -953,6 +955,10 @@ abstract class KernelResolutionWorldBuilderBase
Map<ClassEntity, Set<ClassEntity>> typesImplementedBySubclasses =
populateHierarchyNodes();
_closed = true;
+ assert(
+ _classHierarchyNodes.length == _classSets.length,
+ "ClassHierarchyNode/ClassSet mismatch: "
+ "$_classHierarchyNodes vs $_classSets");
return _closedWorldCache = new KernelClosedWorld(
commonElements: _commonElements,
nativeData: _nativeDataBuilder.close(),
« no previous file with comments | « pkg/compiler/lib/src/ssa/locals_handler.dart ('k') | tests/compiler/dart2js/equivalence/check_functions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698