Index: pkg/compiler/lib/src/world.dart |
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
index 322dec362bfa3e57195db4a7ac755e67178f3413..12810305a966a79fe44bb0548e59ce584767c967 100644 |
--- a/pkg/compiler/lib/src/world.dart |
+++ b/pkg/compiler/lib/src/world.dart |
@@ -1012,6 +1012,8 @@ abstract class ClosedWorldBase implements ClosedWorld, ClosedWorldRefiner { |
void _ensureFunctionSet() { |
if (_allFunctions == null) { |
+ // [FunctionSet] is created lazily because it is not used when we switch |
+ // from a frontend to a backend model before inference. |
_allFunctions = new FunctionSet(liveInstanceMembers); |
} |
} |