Index: pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
index bcf09683b88188eb9cd796c250bc132d3264e51d..7d92ea08fcb546ea5ca8bacd03eaa49a916a330c 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart |
@@ -272,6 +272,7 @@ class CodeGenerator extends tree_ir.StatementVisitor |
void registerMethodInvoke(tree_ir.InvokeMethod node) { |
Selector selector = node.selector; |
TypeMask mask = node.mask; |
+ mask = glue.extendMaskIfReachesAll(selector, mask); |
if (selector.isGetter) { |
registry.registerDynamicUse(new DynamicUse(selector, mask)); |
} else if (selector.isSetter) { |