mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Parses attribute defines. Removal of incremental array parsing. Labels in macros should now work correctly. Volatile and attribute are no longer keywords. Checked a few todos. On test failure, return -1
This commit is contained in:
committed by
Christoffer Lerno
parent
bfde58b9a5
commit
4d4bbbdebc
@@ -325,7 +325,7 @@ bool type_is_homogenous_aggregate(Type *type, Type **base, unsigned *elements)
|
||||
|
||||
AlignSize type_alloca_alignment(Type *type)
|
||||
{
|
||||
if (platform_target.abi == ABI_X64)
|
||||
if (platform_target.abi == ABI_X64 || platform_target.abi == ABI_WIN64)
|
||||
{
|
||||
type = type_lowering(type);
|
||||
if (type->type_kind == TYPE_ARRAY && type_size(type) >= 16) return 16;
|
||||
|
||||
Reference in New Issue
Block a user