| ... | @@ -1383,6 +1383,7 @@ pub const DeclGen = struct { | ... | @@ -1383,6 +1383,7 @@ pub const DeclGen = struct { |
| 1383 | ptr_val: Value, | 1383 | ptr_val: Value, |
| 1384 | decl: *Module.Decl, | 1384 | decl: *Module.Decl, |
| 1385 | ) Error!ParentPtr { | 1385 | ) Error!ParentPtr { |
| | 1386 | decl.alive = true; |
| 1386 | var ptr_ty_payload: Type.Payload.ElemType = .{ | 1387 | var ptr_ty_payload: Type.Payload.ElemType = .{ |
| 1387 | .base = .{ .tag = .single_mut_pointer }, | 1388 | .base = .{ .tag = .single_mut_pointer }, |
| 1388 | .data = decl.ty, | 1389 | .data = decl.ty, |