Index: pkg/compiler/lib/src/ssa/interceptor_simplifier.dart |
diff --git a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart |
index d04dfe8f5991bb90489c993b59f151682552574a..cfa9bedeac93be74d99f986e36ae959d35820707 100644 |
--- a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart |
+++ b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart |
@@ -352,7 +352,8 @@ class SsaSimplifyInterceptors extends HBaseVisitor |
// See if we can rewrite the is-check to use 'instanceof', i.e. rewrite |
// "getInterceptor(x).$isT" to "x instanceof T". |
if (node == user.interceptor) { |
- if (backend.mayGenerateInstanceofCheck(user.typeExpression)) { |
+ if (backend.interceptorData |
+ .mayGenerateInstanceofCheck(user.typeExpression)) { |
HInstruction instanceofCheck = new HIs.instanceOf( |
user.typeExpression, user.expression, user.instructionType); |
instanceofCheck.sourceInformation = user.sourceInformation; |