Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
index 97c585ccde362a4701c7c1b34710a1b0d9d3c07b..9f85daac07f8c63158d17f89ef286e2b3ee09dc4 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
@@ -2752,8 +2752,6 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
HIs.VARIABLE_CHECK); |
} else if (RuntimeTypes.hasTypeArguments(type)) { |
Element element = type.element; |
- bool needsNativeCheck = |
- backend.emitter.nativeEmitter.requiresNativeIsCheck(element); |
Element helper = backend.getCheckSubtype(); |
HInstruction helperCall = new HStatic(helper); |
add(helperCall); |
@@ -2766,14 +2764,11 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
// have a subclass. |
HInstruction asFieldName = |
addConstantString(node, backend.namer.substitutionName(element)); |
- HInstruction native = |
- graph.addConstantBool(needsNativeCheck, constantSystem); |
List<HInstruction> inputs = <HInstruction>[helperCall, |
expression, |
isFieldName, |
representations, |
- asFieldName, |
- native]; |
+ asFieldName]; |
HInstruction call = new HInvokeStatic(inputs, HType.BOOLEAN); |
add(call); |
instruction = new HIs(type, <HInstruction>[expression, call], |