compiler: Use make_indirect for the wasm ABI

This is ignored by LLVM, but is still incorrect.
This commit is contained in:
Jubilee Young 2024-09-16 13:01:29 -07:00
parent 7fc70f870a
commit 0cf89b5336
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ where
}
arg.extend_integer_width_to(32);
if arg.layout.is_aggregate() && !unwrap_trivial_aggregate(cx, arg) {
arg.make_indirect_byval(None);
arg.make_indirect();
}
}