| ... | ... | @@ -8389,7 +8389,7 @@ fn nodeImpliesRuntimeBits(tree: *const ast.Tree, start_node: ast.Node.Index) boo |
| 8389 | 8389 | } |
| 8390 | 8390 | } |
| 8391 | 8391 | |
| 8392 | | /// Applies `rl` semantics to `inst`. Expressions which do not do their own handling of |
| 8392 | /// Applies `rl` semantics to `result`. Expressions which do not do their own handling of |
| 8393 | 8393 | /// result locations must call this function on their result. |
| 8394 | 8394 | /// As an example, if the `ResultLoc` is `ptr`, it will write the result to the pointer. |
| 8395 | 8395 | /// If the `ResultLoc` is `ty`, it will coerce the result to the type. |
| ... | ... | @@ -8399,6 +8399,7 @@ fn rvalue( |
| 8399 | 8399 | result: Zir.Inst.Ref, |
| 8400 | 8400 | src_node: ast.Node.Index, |
| 8401 | 8401 | ) InnerError!Zir.Inst.Ref { |
| 8402 | if (gz.endsWithNoReturn()) return result; |
| 8402 | 8403 | switch (rl) { |
| 8403 | 8404 | .none, .none_or_ref, .coerced_ty => return result, |
| 8404 | 8405 | .discard => { |