aarch64: Treat void return as not passed in registers
This lets us do less post-processing when there's no return value.
This commit is contained in:
committed by
Richard Henderson
parent
2e32f9bf6f
commit
b55e03665d
@@ -383,6 +383,7 @@ is_register_candidate (ffi_type *ty)
|
||||
switch (ty->type)
|
||||
{
|
||||
case FFI_TYPE_VOID:
|
||||
return 0;
|
||||
case FFI_TYPE_FLOAT:
|
||||
case FFI_TYPE_DOUBLE:
|
||||
case FFI_TYPE_LONGDOUBLE:
|
||||
|
||||
Reference in New Issue
Block a user