diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-10 17:27:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-10 17:27:58 -0700 |
| commit | 4d7835e21a28fbfeca5202332c52cb47340941d5 (patch) | |
| tree | e794aaf5ae5affed11c324b42f2044648437f8d8 /src/codegen.cpp | |
| parent | fc748e2ccdf69dd02ae2e7e6e9913e2d98711129 (diff) | |
| download | zig-4d7835e21a28fbfeca5202332c52cb47340941d5.tar.gz zig-4d7835e21a28fbfeca5202332c52cb47340941d5.zip | |
delete unused enumfield and enumdecl node types
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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); |
