mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-03 02:33:37 +00:00
Remove unneeded hash maps when you can store the data directly on the nodes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user