From 4d7835e21a28fbfeca5202332c52cb47340941d5 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 10 Jan 2016 17:27:58 -0700 Subject: delete unused enumfield and enumdecl node types --- src/codegen.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index b46ec52e9c..e89b19e79f 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -1752,8 +1752,6 @@ static LLVMValueRef gen_expr_no_cast(CodeGen *g, AstNode *node) { case NodeTypeUse: case NodeTypeStructDecl: case NodeTypeStructField: - case NodeTypeEnumDecl: - case NodeTypeEnumField: case NodeTypeStructValueField: case NodeTypeCompilerFnExpr: zig_unreachable(); @@ -2516,7 +2514,6 @@ static ImportTableEntry *codegen_add_code(CodeGen *g, Buf *abs_full_path, import_entry->line_offsets = tokenization.line_offsets; import_entry->path = full_path; import_entry->fn_table.init(32); - import_entry->type_table.init(32); import_entry->root = ast_parse(source_code, tokenization.tokens, import_entry, g->err_color); assert(import_entry->root); -- cgit v1.2.3