fn rvalue(
gz: *GenZir,
ri: ResultInfo,
raw_result: Zir.Inst.Ref,
src_node: Ast.Node.Index,
) InnerError!Zir.Inst.Ref gz: *GenZirri: ResultInforaw_result: Zir.Inst.Refsrc_node: Ast.Node.IndexOutOfMemoryAnalysisFail10479
10480
10481
10482
10483
10484
10485
10486fn rvalue(
gz: *GenZir,
ri: ResultInfo,
raw_result: Zir.Inst.Ref,
src_node: Ast.Node.Index,
) InnerError!Zir.Inst.Ref {
return rvalueInner(gz, ri, raw_result, src_node, true);
}
Applies
rlsemantics toresult. Expressions which do not do their own handling of result locations must call this function on their result. As an example, ifri.rlis.ptr, it will write the result to the pointer. Ifri.rlis.ty, it will coerce the result to the type. Assumes nothing stacked ongz.