Remove unneeded hash maps when you can store the data directly on the nodes

This commit is contained in:
gingerBill
2026-08-24 22:25:53 +01:00
parent 7fcf65d2c2
commit a2d9ca8697
5 changed files with 45 additions and 32 deletions

View File

@@ -13894,6 +13894,10 @@ gb_internal gbString write_expr_to_string(gbString str, Ast *node, bool shorthan
str = gb_string_appendc(str, " = ");
str = write_expr_to_string(str, spec->value, shorthand);
}
for (Ast *dir : spec->directives) {
str = gb_string_appendc(str, " ");
str = write_expr_to_string(str, dir, shorthand);
}
case_end;
case_ast_node(clobber, AsmClobber, node);