From efdee0dafb2b7568242173cb4549aba32f6f9e75 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 19 Feb 2021 11:31:14 +0000 Subject: Remove `bit_field` type from Odin (keyword and dead runtime code still exists) --- src/ir_print.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/ir_print.cpp') diff --git a/src/ir_print.cpp b/src/ir_print.cpp index d4a63506e..5093b13e6 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -635,15 +635,6 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t, bool in_struct) { ir_print_type(f, m, t->Map.internal_type); break; - case Type_BitField: { - i64 align = type_align_of(t); - i64 size = type_size_of(t); - ir_write_string(f, str_lit("<{")); - ir_print_alignment_prefix_hack(f, align); - ir_fprintf(f, ", [%lld x i8]}>", size); - break; - } - case Type_BitSet: { i64 size = type_size_of(t); if (size == 0) { @@ -2641,7 +2632,6 @@ bool ir_print_global_type_allowed(Type *t) { case Type_DynamicArray: case Type_Map: case Type_Union: - case Type_BitField: return false; } -- cgit v1.2.3