Index: pkg/compiler/lib/src/ssa/optimize.dart |
diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart |
index 627e7195848df298029073c2c1b495a08942fd82..9aa2d98dd339645993dc3367293532c7c205f48a 100644 |
--- a/pkg/compiler/lib/src/ssa/optimize.dart |
+++ b/pkg/compiler/lib/src/ssa/optimize.dart |
@@ -378,7 +378,7 @@ class SsaInstructionSimplifier extends HBaseVisitor |
ClosedWorld world = compiler.closedWorld; |
bool applies(Element element) { |
- return selector.applies(element, backend) && |
+ return selector.applies(element) && |
(mask == null || mask.canHit(element, selector, world)); |
} |
@@ -427,7 +427,7 @@ class SsaInstructionSimplifier extends HBaseVisitor |
return result; |
} |
} else if (selector.isGetter) { |
- if (selector.applies(helpers.jsIndexableLength, backend)) { |
+ if (selector.applies(helpers.jsIndexableLength)) { |
HInstruction optimized = tryOptimizeLengthInterceptedGetter(node); |
if (optimized != null) return optimized; |
} |