From f35b7e32809c5d54850ce75c4dad1a8598235cf0 Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Wed, 26 Jul 2023 10:53:27 -0700 Subject: simplify code a fair bit --- chibicc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chibicc.h') diff --git a/chibicc.h b/chibicc.h index 397c4fb..01f4264 100644 --- a/chibicc.h +++ b/chibicc.h @@ -421,7 +421,8 @@ void typegen(Obj *prog, FILE *out); // int definitely_same_type(Type *type1, Type *type2); -unsigned long hash_type(Type *type); +void hash_insert(Type *type); +Type *hash_lookup(Type *type); // // unicode.c -- cgit v1.2.3