Past remaining tests #39
@ -1731,6 +1731,11 @@ get_bit_size = fn (type: &Type) u64
|
||||
>bit_size = get_bit_size(type.content.alias.type);
|
||||
return bit_size;
|
||||
},
|
||||
.union =>
|
||||
{
|
||||
>result = type.content.union.byte_size * 8;
|
||||
return result;
|
||||
},
|
||||
else =>
|
||||
{
|
||||
#trap();
|
||||
@ -2182,6 +2187,10 @@ value_is_constant = fn (value: &Value) u1
|
||||
{
|
||||
return 0;
|
||||
},
|
||||
.zero =>
|
||||
{
|
||||
return 1;
|
||||
},
|
||||
else =>
|
||||
{
|
||||
#trap();
|
||||
@ -17539,6 +17548,7 @@ names: [_][]u8 =
|
||||
"forward_declared_type",
|
||||
"enum_array",
|
||||
"opaque",
|
||||
"basic_struct_passing",
|
||||
];
|
||||
|
||||
[export] main = fn [cc(c)] (argument_count: u32, argv: &&u8, envp: &&u8) s32
|
||||
|
Loading…
x
Reference in New Issue
Block a user