| ... | @@ -3517,6 +3517,7 @@ fn zirRetPtr(sema: *Sema, block: *Block) CompileError!Air.Inst.Ref { | ... | @@ -3517,6 +3517,7 @@ fn zirRetPtr(sema: *Sema, block: *Block) CompileError!Air.Inst.Ref { |
| 3517 | // We are inlining a function call; this should be emitted as an alloc, not a ret_ptr. | 3517 | // We are inlining a function call; this should be emitted as an alloc, not a ret_ptr. |
| 3518 | // TODO when functions gain result location support, the inlining struct in | 3518 | // TODO when functions gain result location support, the inlining struct in |
| 3519 | // Block should contain the return pointer, and we would pass that through here. | 3519 | // Block should contain the return pointer, and we would pass that through here. |
| | 3520 | try sema.queueFullTypeResolution(sema.fn_ret_ty); |
| 3520 | return block.addTy(.alloc, ptr_type); | 3521 | return block.addTy(.alloc, ptr_type); |
| 3521 | } | 3522 | } |
| 3522 | | 3523 | |