| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index 2cc1d008cc818688ac562a00ca038328ad9d7910..e8e30fc5bb9ba869196855dd182531019ff96e3f 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -1401,7 +1401,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| for (HInstruction instruction = start.first;
|
| instruction != start.last;
|
| instruction = instruction.next) {
|
| - if (instruction.isStatement()) {
|
| + if (instruction.isStatement) {
|
| if (!updateKind(ONE_STATEMENT)) return MULTIPLE_STATEMENTS;
|
| } else if (!isGenerateAtUseSite(instruction)) {
|
| if (!updateKind(ONE_EXPRESSION)) return MULTIPLE_STATEMENTS;
|
| @@ -1410,7 +1410,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
|
|
| HInstruction last = start.last;
|
| if (last is !HGoto) {
|
| - if (!updateKind(last.isStatement() ? ONE_STATEMENT : ONE_EXPRESSION)) {
|
| + if (!updateKind(last.isStatement ? ONE_STATEMENT : ONE_EXPRESSION)) {
|
| return MULTIPLE_STATEMENTS;
|
| }
|
| }
|
|
|