Begin work on semantically type checking asm templates

This commit is contained in:
gingerBill
2026-08-09 18:24:56 +01:00
parent 5e49e6c1a5
commit 5ac28cdecd
8 changed files with 769 additions and 29 deletions

View File

@@ -483,11 +483,10 @@ struct AstSplitArgs {
Token name; \
}) \
AST_KIND(AsmSpec, "asm specification", struct { \
Ast *name; \
Ast *tied_name; \
Ast *type; \
Ast *value; \
bool is_temporary_decl; \
Ast *name; \
Ast *tied_name; \
Ast *type; \
Ast *value; \
}) \
AST_KIND(AsmClobber, "asm clobber", struct { \
Token token; \
@@ -498,7 +497,7 @@ struct AstSplitArgs {
Ast * name; \
}) \
AST_KIND(AsmInstruction, "asm instruction", struct { \
Token name; \
Ast * name; \
Slice<Ast *> operands; \
}) \
AST_KIND(AsmMemoryOperand, "asm memory operand", struct { \