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

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

Issue 2814663002: Use ClassEntity in ClassHierarchyNode (Closed)
Patch Set: Created 3 years, 8 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/element_world_builder.dart
diff --git a/pkg/compiler/lib/src/universe/element_world_builder.dart b/pkg/compiler/lib/src/universe/element_world_builder.dart
index ba2b6231be3a3b88a02396e2158902bc188b35b8..f85c24f32dcd06fc3ead2f2d77bc071fdb06c7af 100644
--- a/pkg/compiler/lib/src/universe/element_world_builder.dart
+++ b/pkg/compiler/lib/src/universe/element_world_builder.dart
@@ -129,7 +129,7 @@ class ElementResolutionWorldBuilder extends ResolutionWorldBuilderBase {
if (cls.superclass != null) {
parentNode = _ensureClassHierarchyNode(cls.superclass);
}
- return new ClassHierarchyNode(parentNode, cls);
+ return new ClassHierarchyNode(parentNode, cls, cls.hierarchyDepth);
});
}

Powered by Google App Engine
This is Rietveld 408576698