compiler: Use make_indirect for the wasm ABI
This is ignored by LLVM, but is still incorrect.
This commit is contained in:
parent
7fc70f870a
commit
0cf89b5336
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ where
|
||||||
}
|
}
|
||||||
arg.extend_integer_width_to(32);
|
arg.extend_integer_width_to(32);
|
||||||
if arg.layout.is_aggregate() && !unwrap_trivial_aggregate(cx, arg) {
|
if arg.layout.is_aggregate() && !unwrap_trivial_aggregate(cx, arg) {
|
||||||
arg.make_indirect_byval(None);
|
arg.make_indirect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue