Skip to content

Commit d09e27d

Browse files
committed
update call
1 parent 7d27ceb commit d09e27d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/abi/call/powerpc64.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ where
5656
return;
5757
}
5858

59+
// The AIX ABI expect byval for aggregates
5960
// See https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/Targets/PPC.cpp.
6061
if !is_ret && abi == AIX {
61-
arg.make_indirect_byval(None);
62+
arg.pass_by_stack_offset(None);
6263
return;
6364
}
6465

0 commit comments

Comments
 (0)