From e4a82833275acc166313ff11613bcc748309571a Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Thu, 29 Jun 2017 15:48:07 +0100 Subject: Remove `Type` What was I thinking?! --- src/ir_print.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ir_print.cpp') diff --git a/src/ir_print.cpp b/src/ir_print.cpp index c5456edf4..b9bccc91c 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -246,7 +246,6 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) { case Basic_uint: ir_fprintf(f, "i%lld", word_bits); return; case Basic_int: ir_fprintf(f, "i%lld", word_bits); return; case Basic_any: ir_fprintf(f, "%%..any"); return; - case Basic_Type: ir_fprintf(f, "%%..Type"); return; } break; case Type_Pointer: @@ -1692,11 +1691,6 @@ void print_llvm_ir(irGen *ir) { ir_print_type(f, m, t_type_info_ptr); ir_fprintf(f, "} ; Basic_any\n"); - ir_print_encoded_local(f, str_lit("..Type")); - ir_fprintf(f, " = type "); - ir_print_type(f, m, t_int); - ir_fprintf(f, " ; Basic_Type\n"); - ir_fprintf(f, "declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone \n"); ir_fprintf(f, "\n"); -- cgit v1.2.3