Index: pkg/compiler/lib/src/universe/function_set.dart |
diff --git a/pkg/compiler/lib/src/universe/function_set.dart b/pkg/compiler/lib/src/universe/function_set.dart |
index 677ffc53d6d967e3cf92f8e872b39f91ca27cfa7..0fb00187f1daab198ecb8b13807d6c59c539d192 100644 |
--- a/pkg/compiler/lib/src/universe/function_set.dart |
+++ b/pkg/compiler/lib/src/universe/function_set.dart |
@@ -17,11 +17,9 @@ import 'world_builder.dart' show ReceiverConstraint; |
// too and stricly they aren't functions. Maybe this needs a better |
// name -- something like ElementSet seems a bit too generic. |
class FunctionSet { |
- final Compiler compiler; |
+ final ClosedWorld closedWorld; |
final Map<String, FunctionSetNode> nodes = new Map<String, FunctionSetNode>(); |
- FunctionSet(this.compiler); |
- |
- ClosedWorld get closedWorld => compiler.closedWorld; |
+ FunctionSet(this.closedWorld); |
FunctionSetNode newNode(String name) => new FunctionSetNode(name); |