aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-19 11:31:14 +0000
committergingerBill <bill@gingerbill.org>2021-02-19 11:31:14 +0000
commitefdee0dafb2b7568242173cb4549aba32f6f9e75 (patch)
treecd1e66b987699f55f57c3c4f6097f1fb31cf0517 /src/ir_print.cpp
parentf332cf498d83f4ef2da5ce1493347c1984cbf0d8 (diff)
Remove `bit_field` type from Odin (keyword and dead runtime code still exists)
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp10
1 files changed, 0 insertions, 10 deletions
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;
}