Sema: fix ret_ptr when inlining

Previously, it would emit a ret_ptr AIR instruction but that is not
correct because such an instruction would reference the result pointer
of the caller function rather than the callee function.

Instead, we emit an alloc instruction in this case. `ret_load` already
handles inlining correctly.
79702c144dAndrew Kelley committed on 10/26/2021, 10:43:57 PMparentc6b3d06
2 files changedLine totals unavailable