From 5af7ae1dc45a4adafe72a91c1f849d599a6ff3eb Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 11 Oct 2021 15:50:39 -0700 Subject: stage2: LLVM backend: fix var args function calls --- src/Air.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Air.zig') diff --git a/src/Air.zig b/src/Air.zig index 4d3fea13f3..9ad8bc9ae4 100644 --- a/src/Air.zig +++ b/src/Air.zig @@ -264,10 +264,10 @@ pub const Inst = struct { /// Uses the `un_op` field. /// Triggers `resolveTypeLayout` on the return type. ret, - /// This instruction communicates that the function's result value is inside - /// the operand, which is a pointer. If the function will pass the result by-ref, - /// the pointer operand is a `ret_ptr` instruction. Otherwise, this instruction - /// is equivalent to a `load` on the operand, followed by a `ret` on the loaded value. + /// This instruction communicates that the function's result value is pointed to by + /// the operand. If the function will pass the result by-ref, the operand is a + /// `ret_ptr` instruction. Otherwise, this instruction is equivalent to a `load` + /// on the operand, followed by a `ret` on the loaded value. /// Result type is always noreturn; no instructions in a block follow this one. /// Uses the `un_op` field. /// Triggers `resolveTypeLayout` on the return type. -- cgit v1.2.3