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

@@ -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);