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

Unified Diff: pkg/compiler/lib/src/world.dart

Issue 2981423003: Move .getLocalFunction from KernelToElementMap to KernelToLocalsMap (Closed)
Patch Set: Created 3 years, 5 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/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index 09a3bde487e9b2fa3c49c9e2eb65182bcfeef2d9..3ce85083c25a03e4ec261094f832f078c17ef485 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -377,7 +377,7 @@ abstract class ClosedWorldRefiner {
/// considered directly instantiated. If [fromInstanceMember] is true, this
/// closure class represents a closure that is inside an instance member, thus
/// has access to `this`.
- void registerClosureClass(covariant ClassEntity cls, bool fromInstanceMember);
+ void registerClosureClass(covariant ClassEntity cls);
Emily Fortuna 2017/07/21 22:21:43 then we can cut the covariant keyword and just hav
Johnni Winther 2017/07/28 12:08:19 Done.
}
abstract class OpenWorld implements World {
@@ -1307,7 +1307,7 @@ class ClosedWorldImpl extends ClosedWorldBase with ClosedWorldRtiNeedMixin {
return selector.appliesUntyped(element);
}
- void registerClosureClass(ClassElement cls, bool _) {
+ void registerClosureClass(ClassElement cls) {
ClassHierarchyNode parentNode = getClassHierarchyNode(cls.superclass);
ClassHierarchyNode node = _classHierarchyNodes[cls] =
new ClassHierarchyNode(parentNode, cls, cls.hierarchyDepth);

Powered by Google App Engine
This is Rietveld 408576698