fn endsWithNoReturn(gz: GenZir) bool gz: GenZir11360
11361
11362
11363
11364
11365 fn endsWithNoReturn(gz: GenZir) bool {
if (gz.isEmpty()) return false;
const tags = gz.astgen.instructions.items(.tag);
const last_inst = gz.instructions.items[gz.instructions.items.len - 1];
return tags[@backingInt(last_inst)].isNoReturn();
}
Assumes nothing stacked on
gz.