| ... | @@ -6544,10 +6544,6 @@ const NavGen = struct { | ... | @@ -6544,10 +6544,6 @@ const NavGen = struct { |
| 6544 | .id_ref_3 = params[0..n_params], | 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 | if (self.liveness.isUnused(inst) or !Type.fromInterned(return_type).hasRuntimeBitsIgnoreComptime(zcu)) { | 6547 | if (self.liveness.isUnused(inst) or !Type.fromInterned(return_type).hasRuntimeBitsIgnoreComptime(zcu)) { |
| 6552 | return null; | 6548 | return null; |
| 6553 | } | 6549 | } |