summaryrefslogtreecommitdiff
path: root/codegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'codegen.c')
-rw-r--r--codegen.c3
1 files changed, 2 insertions, 1 deletions
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;