Remove dead code in the compiler

This commit is contained in:
gingerBill
2022-12-18 22:49:10 +00:00
parent 6cdec65ca1
commit c1f5be24e2
28 changed files with 165 additions and 1657 deletions
-8
View File
@@ -397,8 +397,6 @@ struct CheckerContext {
CheckerTypePath *type_path;
isize type_level; // TODO(bill): Actually handle correctly
CheckerPolyPath *poly_path;
isize poly_level; // TODO(bill): Actually handle correctly
UntypedExprInfoMap *untyped;
@@ -489,12 +487,6 @@ gb_internal void destroy_checker_type_path(CheckerTypePath *tp);
gb_internal void check_type_path_push(CheckerContext *c, Entity *e);
gb_internal Entity *check_type_path_pop (CheckerContext *c);
gb_internal CheckerPolyPath *new_checker_poly_path();
gb_internal void destroy_checker_poly_path(CheckerPolyPath *);
gb_internal void check_poly_path_push(CheckerContext *c, Type *t);
gb_internal Type *check_poly_path_pop (CheckerContext *c);
gb_internal void init_core_context(Checker *c);
gb_internal void init_mem_allocator(Checker *c);