Chromium Code Reviews| Index: frog/leg/ssa/nodes.dart |
| =================================================================== |
| --- frog/leg/ssa/nodes.dart (revision 5611) |
| +++ frog/leg/ssa/nodes.dart (working copy) |
| @@ -2056,7 +2056,9 @@ |
| return HType.UNKNOWN; |
| } |
| - bool hasExpectedType() => value.hasExpectedType(); |
| + // This instruction does not yield a new value, so it always |
| + // has the expected type (void). |
| + bool hasExpectedType() => true; |
| } |
| class HNonSsaInstruction extends HInstruction { |