stage1 支持结构体初始化

This commit is contained in:
zzy committed 2026-09-14 10:09:32 +08:00
1 parent 72ae6d6994
commit 9bdb7f892e
4 files changed
+72 -15

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ const char *spl_ir_kind_name(spl_ir_kind_t kind) {
return "?";
}
#define SPL_ENUM_TAG_FIELD_IDX 0
void spl_ir_init(spl_ir_t *ir) {
vec_init(ir->funcs);
vec_push(ir->funcs, (spl_ir_func_t){0});