Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
index 936ad61ced341339fcb71f2a60be99cb4c81f5f2..4db7b8702a5a8f5615c30e0714693ad8c292c901 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
@@ -2243,16 +2243,10 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
js.PropertyAccess field = |
new js.PropertyAccess.field(pop(), backend.namer.operatorIs(element)); |
- if (backend.emitter.nativeEmitter.requiresNativeIsCheck(element)) { |
- push(new js.Call(field, <js.Expression>[])); |
- if (negative) push(new js.Prefix('!', pop())); |
- } else { |
- // We always negate at least once so that the result is boolified. |
- push(new js.Prefix('!', field)); |
- // If the result is not negated, put another '!' in front. |
- if (!negative) push(new js.Prefix('!', pop())); |
- } |
- |
+ // We always negate at least once so that the result is boolified. |
+ push(new js.Prefix('!', field)); |
+ // If the result is not negated, put another '!' in front. |
+ if (!negative) push(new js.Prefix('!', pop())); |
} |
void handleNumberOrStringSupertypeCheck(HInstruction input, DartType type) { |