Generate record IR

This commit is contained in:
2025-01-09 22:40:39 +01:00
parent cf4b6b7ccc
commit 954425f4bd
4 changed files with 68 additions and 25 deletions

View File

@ -29,6 +29,12 @@ namespace gcc
return TREE_CODE(type) == ARRAY_TYPE;
}
bool is_record_type(tree type)
{
gcc_assert(TYPE_P(type));
return TREE_CODE(type) == RECORD_TYPE;
}
tree tree_chain_base::head()
{
return first;