| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index d6e8284a610a95fe8e771bf0203450bb8f741d12..63f0684f79bf10098d9e36e70f11d68c9d83ba1a 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -1648,7 +1648,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| visitForeign(HForeign node) {
|
| String code = node.code.slowToString();
|
| List<HInstruction> inputs = node.inputs;
|
| - if (node.isStatement(types)) {
|
| + if (node.isJsStatement(types)) {
|
| if (!inputs.isEmpty()) {
|
| compiler.internalError("foreign statement with inputs: $code",
|
| instruction: node);
|
|
|