mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-17 00:31:39 -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
@@ -548,6 +548,7 @@ gb_internal Ast *clone_ast(Ast *node, AstFile *f) {
|
||||
case Ast_AsmInstruction:
|
||||
n->AsmInstruction.name = clone_ast(n->AsmInstruction.name, f);
|
||||
n->AsmInstruction.operands = clone_ast_array(n->AsmInstruction.operands, f);
|
||||
n->AsmInstruction.facts = nullptr;
|
||||
break;
|
||||
case Ast_AsmMemoryOperand:
|
||||
n->AsmMemoryOperand.segment_override = clone_ast(n->AsmMemoryOperand.segment_override, f);
|
||||
|
||||
Reference in new issue
Block a user