| ... | @@ -2559,7 +2559,7 @@ fn airArg(func: *CodeGen, inst: Air.Inst.Index) InnerError!void { | ... | @@ -2559,7 +2559,7 @@ fn airArg(func: *CodeGen, inst: Air.Inst.Index) InnerError!void { |
| 2559 | const result = try func.allocStack(arg_ty); | 2559 | const result = try func.allocStack(arg_ty); |
| 2560 | try func.store(result, arg, Type.u64, 0); | 2560 | try func.store(result, arg, Type.u64, 0); |
| 2561 | try func.store(result, func.args[arg_index + 1], Type.u64, 8); | 2561 | try func.store(result, func.args[arg_index + 1], Type.u64, 8); |
| 2562 | return func.finishAir(inst, arg, &.{}); | 2562 | return func.finishAir(inst, result, &.{}); |
| 2563 | } | 2563 | } |
| 2564 | } else { | 2564 | } else { |
| 2565 | func.arg_index += 1; | 2565 | func.arg_index += 1; |