Allow for inlineable asm calls

This commit is contained in:
gingerBill
2026-08-18 14:57:34 +01:00
parent 0bc9e60725
commit a86e523053
8 changed files with 30 additions and 12 deletions

View File

@@ -2202,11 +2202,7 @@ gb_internal void check_entity_decl(CheckerContext *ctx, Entity *e, DeclInfo *d,
break;
case Entity_AsmTemplate:
if (build_context.metrics.arch == TargetArch_amd64) {
check_asm_template(&g_asm_amd64, &c, e, d);
} else {
error(e->token, "asm templates are not currently supported for this target");
}
check_asm_template_from_entity(&c, e, d);
break;
}