607
),
608
consequent: bodyBlock,
609
alternate: continuationBlock.id,
610
+ fallthrough: continuationBlock.id,
611
id: makeInstructionId(0),
612
loc: stmt.node.loc ?? GeneratedSource,
613
},
657
},
658
conditionalBlock,
659
);
659
- /*
660
- * The conditional block is empty and exists solely as conditional for
661
- * (re)entering or exiting the loop
662
- */
660
const test = lowerExpressionToTemporary(builder, stmt.get('test'));
661
const terminal: BranchTerminal = {
662
kind: 'branch',
663
test,
664
consequent: loopBlock,
665
alternate: continuationBlock.id,
666
+ fallthrough: conditionalBlock.id,
667
id: makeInstructionId(0),
668
loc: stmt.node.loc ?? GeneratedSource,
669
};
973
test,
974
consequent: loopBlock,
975
alternate: continuationBlock.id,
976
+ fallthrough: conditionalBlock.id,
977
id: makeInstructionId(0),
978
loc,
979
};
1117
consequent: loopBlock,
1118
alternate: continuationBlock.id,
1119
loc: stmt.node.loc ?? GeneratedSource,
1120
+ fallthrough: continuationBlock.id,
1121
},
1122
continuationBlock,
1123
);
1203
test,
1204
consequent: loopBlock,
1205
alternate: continuationBlock.id,
1206
+ fallthrough: continuationBlock.id,
1207
loc: stmt.node.loc ?? GeneratedSource,
1208
},
1209
continuationBlock,
1801
test: {...testPlace},
1802
consequent: consequentBlock,
1803
alternate: alternateBlock,
1804
+ fallthrough: continuationBlock.id,
1805
id: makeInstructionId(0),
1806
loc: exprLoc,
1807
},
1880
test: {...leftPlace},
1881
consequent,
1882
alternate,
1883
+ fallthrough: continuationBlock.id,
1884
id: makeInstructionId(0),
1885
loc: exprLoc,
1886
},
2614
test: {...object},
2615
consequent: consequent.id,
2616
alternate,
2617
+ fallthrough: continuationBlock.id,
2618
id: makeInstructionId(0),
2619
loc,
2620
};
2754
test: {...testPlace},
2755
consequent: consequent.id,
2756
alternate,
2757
+ fallthrough: continuationBlock.id,
2758
id: makeInstructionId(0),
2759
loc,
2760
};
4030
test: {...test},
4031
consequent,
4032
alternate,
4033
+ fallthrough: continuationBlock.id,
4034
id: makeInstructionId(0),
4035
loc,
4036
},