| author | |
| committer | |
| log | c1132edd539b172b6e4c36c5aa774dd98726515f |
| tree | a700a3a7b21fe8c3a360e705b07e8fdaf508a8d2 |
| parent | 973f8462512a569064042d9afc954134ca66394b |
| signature |
It seems that these are now automatically added to AIR in Sema.1 files changed, 0 insertions(+), 4 deletions(-)
src/codegen/spirv.zig-4| ... | ... | @@ -6544,10 +6544,6 @@ const NavGen = struct { |
| 6544 | 6544 | .id_ref_3 = params[0..n_params], |
| 6545 | 6545 | }); |
| 6546 | 6546 | |
| 6547 | if (return_type == .noreturn_type) { | |
| 6548 | try self.func.body.emit(self.spv.gpa, .OpUnreachable, {}); | |
| 6549 | } | |
| 6550 | ||
| 6551 | 6547 | if (self.liveness.isUnused(inst) or !Type.fromInterned(return_type).hasRuntimeBitsIgnoreComptime(zcu)) { |
| 6552 | 6548 | return null; |
| 6553 | 6549 | } |