mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
No type_lowering in the frontend.
This commit is contained in:
@@ -281,7 +281,7 @@ AlignSize type_alloca_alignment(Type *type)
|
||||
AlignSize align = type_abi_alignment(type);
|
||||
if (align < 16 && (platform_target.abi == ABI_X64 || platform_target.abi == ABI_WIN64))
|
||||
{
|
||||
type = type_lowering(type);
|
||||
type = type_flatten(type);
|
||||
if (type->type_kind == TYPE_ARRAY && type_size(type) >= 16) return 16;
|
||||
}
|
||||
return align;
|
||||
|
||||
Reference in New Issue
Block a user