mirror of
https://github.com/frida/tinycc
synced 2025-01-03 10:34:37 +03:00
riscv: Fix mixed2 and mixed3 abi tests
this was caused by a simple bug, not by the current inability to pass a {float,int} struct per psABI. So now only ret_mixed_test is still broken.
This commit is contained in:
parent
98f1b83ffe
commit
0cb6e3fff8
@ -457,7 +457,8 @@ static int pass_in_freg(CType *type, int regs)
|
||||
return toplevel ? 0 : -1;
|
||||
return regs + tr;
|
||||
}
|
||||
return is_float(type->t) && (type->t & VT_BTYPE) != VT_LDOUBLE;
|
||||
return is_float(type->t) && (type->t & VT_BTYPE) != VT_LDOUBLE
|
||||
? 1 : toplevel ? 0 : -1;
|
||||
}
|
||||
|
||||
ST_FUNC void gfunc_call(int nb_args)
|
||||
|
Loading…
Reference in New Issue
Block a user