Fix calling function returning large structs from functions returning large structs in Aarch64 compiler
This commit is contained in:
parent
8fd548fb92
commit
6863cdf567
1 changed files with 1 additions and 1 deletions
|
|
@ -823,7 +823,7 @@ namespace pslang::jit::aarch64
|
||||||
}
|
}
|
||||||
if (return_value_is_large_struct)
|
if (return_value_is_large_struct)
|
||||||
{
|
{
|
||||||
builder.add_imm(31, 8, base_offset);
|
builder.add_imm(31, 8, base_offset + (this->return_value_is_large_struct ? 16 : 0));
|
||||||
}
|
}
|
||||||
if (!lcontext.use_frame_pointer)
|
if (!lcontext.use_frame_pointer)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue