From b6861148021df1682f424d3ce8e8051b80889b03 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Tue, 4 Aug 2026 23:52:08 -0400 Subject: unify hashmap type --- codegen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'codegen.c') diff --git a/codegen.c b/codegen.c index d9b2962..bca0411 100644 --- a/codegen.c +++ b/codegen.c @@ -1,4 +1,5 @@ #include "ccc.h" +#include "hashmap.h" #include "codegen.h" #include "scope.h" #include "register.h" @@ -28,7 +29,7 @@ static struct reg* MULDIV_OVERFLOW_REG = &RDX; #define FULL_REG_SZ 8 #define WORD_SZ 2 -static struct dseg dseg; +static struct hash_map dseg; static struct scope* scope; static const struct fn_decl_node* active_fn; static integral_t branch_counter = 0; -- cgit v1.2.3