diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-29 15:48:07 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-29 15:48:07 +0100 |
| commit | e4a82833275acc166313ff11613bcc748309571a (patch) | |
| tree | db2531ec560e9bbde90bf1836bf2578549ab5157 /src/ir_print.cpp | |
| parent | 001baf4419da9c43d4ef68d7ec1eac638d6fb742 (diff) | |
Remove `Type`
What was I thinking?!
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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"); |