fn rvalueNoCoercePreRef(
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.IndexOutOfMemoryAnalysisFail10492
10493
10494
10495
10496
10497
10498
10499fn rvalueNoCoercePreRef(
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, false);
}
Like
rvalue, but refuses to perform coercions before taking references for theref_coerced_tyresult type. This is used for local variables which do not haveallocs, because we want variables to have consistent addresses, i.e. we want them to act like lvalues.