Remove bit_field in type info, runtime, and general core library

This commit is contained in:
gingerBill
2021-02-19 11:36:23 +00:00
parent efdee0dafb
commit 595885d3db
9 changed files with 0 additions and 142 deletions
-7
View File
@@ -136,11 +136,6 @@ Type_Info_Map :: struct {
key_equal: Equal_Proc,
key_hasher: Hasher_Proc,
};
Type_Info_Bit_Field :: struct {
names: []string,
bits: []i32,
offsets: []i32,
};
Type_Info_Bit_Set :: struct {
elem: ^Type_Info,
underlying: ^Type_Info, // Possibly nil
@@ -199,7 +194,6 @@ Type_Info :: struct {
Type_Info_Union,
Type_Info_Enum,
Type_Info_Map,
Type_Info_Bit_Field,
Type_Info_Bit_Set,
Type_Info_Opaque,
Type_Info_Simd_Vector,
@@ -231,7 +225,6 @@ Typeid_Kind :: enum u8 {
Union,
Enum,
Map,
Bit_Field,
Bit_Set,
Opaque,
Simd_Vector,
-16
View File
@@ -324,22 +324,6 @@ print_type :: proc "contextless" (ti: ^Type_Info) {
}
print_string("}");
case Type_Info_Bit_Field:
print_string("bit_field ");
if ti.align != 1 {
print_string("#align ");
print_u64(u64(ti.align));
print_byte(' ');
}
print_string(" {");
for name, i in info.names {
if i > 0 { print_string(", "); }
print_string(name);
print_string(": ");
print_u64(u64(info.bits[i]));
}
print_string("}");
case Type_Info_Bit_Set:
print_string("bit_set[");