Index: pkg/compiler/lib/src/js_backend/codegen/glue.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart |
index b4419603db1f0373fa2c2f6ffbb9dfa126d5c34b..463d6da9c9f82b7de25b228c188b95e40975e9e7 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart |
@@ -30,7 +30,7 @@ import '../../universe/selector.dart' show |
Selector; |
import '../../world.dart' show |
ClassWorld; |
- |
+import '../../types/types.dart'; |
/// Encapsulates the dependencies of the function-compiler to the compiler, |
/// backend and emitter. |
@@ -287,5 +287,9 @@ class Glue { |
return _backend.constants.getConstantValueForVariable(elem); |
} |
+ TypeMask extendMaskIfReachesAll(Selector selector, TypeMask mask) { |
+ return _compiler.world.extendMaskIfReachesAll(selector, mask); |
+ } |
+ |
FunctionElement get closureFromTearOff => _backend.helpers.closureFromTearOff; |
} |