diff options
| author | Carson Fleming <cflems@cflems.net> | 2026-08-04 23:52:08 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2026-08-04 23:52:08 -0400 |
| commit | b6861148021df1682f424d3ce8e8051b80889b03 (patch) | |
| tree | d36a8dc9853ba7eddd58acf814a1caf9c0e1acfa /codegen.c | |
| parent | ebe7f44385c4be54afd2993d54ce6352f612f9fa (diff) | |
| download | ccc-b6861148021df1682f424d3ce8e8051b80889b03.tar.gz | |
unify hashmap type
Diffstat (limited to 'codegen.c')
| -rw-r--r-- | codegen.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
