mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 06:12:05 -04:00
Remove unneeded hash maps when you can store the data directly on the nodes
This commit is contained in:
1 parent
7fcf65d2c2
commit
a2d9ca8697
5 files changed
+45
-32
No files matched your search
@@ -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