| ... | ... | @@ -4705,6 +4705,7 @@ pub const GetFuncInstanceKey = struct { |
| 4705 | 4705 | bare_return_type: Index, |
| 4706 | 4706 | cc: std.builtin.CallingConvention, |
| 4707 | 4707 | alignment: Alignment, |
| 4708 | section: OptionalNullTerminatedString, |
| 4708 | 4709 | is_noinline: bool, |
| 4709 | 4710 | generic_owner: Index, |
| 4710 | 4711 | inferred_error_set: bool, |
| ... | ... | @@ -4782,6 +4783,7 @@ pub fn getFuncInstance(ip: *InternPool, gpa: Allocator, arg: GetFuncInstanceKey) |
| 4782 | 4783 | func_extra_index, |
| 4783 | 4784 | arg.generation, |
| 4784 | 4785 | func_ty, |
| 4786 | arg.section, |
| 4785 | 4787 | ); |
| 4786 | 4788 | } |
| 4787 | 4789 | |
| ... | ... | @@ -4911,6 +4913,7 @@ pub fn getFuncInstanceIes( |
| 4911 | 4913 | func_extra_index, |
| 4912 | 4914 | arg.generation, |
| 4913 | 4915 | func_ty, |
| 4916 | arg.section, |
| 4914 | 4917 | ); |
| 4915 | 4918 | } |
| 4916 | 4919 | |
| ... | ... | @@ -4922,6 +4925,7 @@ fn finishFuncInstance( |
| 4922 | 4925 | func_extra_index: u32, |
| 4923 | 4926 | generation: u32, |
| 4924 | 4927 | func_ty: Index, |
| 4928 | section: OptionalNullTerminatedString, |
| 4925 | 4929 | ) Allocator.Error!Index { |
| 4926 | 4930 | const fn_owner_decl = ip.declPtr(ip.funcDeclOwner(generic_owner)); |
| 4927 | 4931 | const decl_index = try ip.createDecl(gpa, .{ |
| ... | ... | @@ -4934,7 +4938,7 @@ fn finishFuncInstance( |
| 4934 | 4938 | .ty = func_ty.toType(), |
| 4935 | 4939 | .val = func_index.toValue(), |
| 4936 | 4940 | .alignment = .none, |
| 4937 | | .@"linksection" = fn_owner_decl.@"linksection", |
| 4941 | .@"linksection" = section, |
| 4938 | 4942 | .@"addrspace" = fn_owner_decl.@"addrspace", |
| 4939 | 4943 | .analysis = .complete, |
| 4940 | 4944 | .deletion_flag = false, |