aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ast.c b/src/ast.c
index 662052f..33faff1 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -29,12 +29,6 @@ const char* type_kind_stringify(TypeKind k) {
unreachable();
}
-void type_dump(Type* ty) {
- fprintf(stderr, "Type {\n");
- fprintf(stderr, " kind = %s\n", type_kind_stringify(ty->kind));
- fprintf(stderr, "}\n");
-}
-
Type* type_new(TypeKind kind) {
Type* ty = calloc(1, sizeof(Type));
ty->kind = kind;