aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_general.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-02-22 15:55:20 +0000
committergingerBill <bill@gingerbill.org>2024-02-22 15:55:54 +0000
commita4b8c1ea1779ce93349b203aaf56c5aeca316b61 (patch)
tree3252615386a0d4840f87210286dca6a484176d3b /src/llvm_backend_general.cpp
parentb12ba1508eb5d7f53f0952e0267eb7b5b3dce463 (diff)
Begin work adding `bit_field`
Diffstat (limited to 'src/llvm_backend_general.cpp')
-rw-r--r--src/llvm_backend_general.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/llvm_backend_general.cpp b/src/llvm_backend_general.cpp
index f0f5327c6..2102420f8 100644
--- a/src/llvm_backend_general.cpp
+++ b/src/llvm_backend_general.cpp
@@ -2216,7 +2216,9 @@ gb_internal LLVMTypeRef lb_type_internal(lbModule *m, Type *type) {
}
return LLVMStructTypeInContext(ctx, fields, field_count, false);
}
-
+
+ case Type_BitField:
+ return lb_type_internal(m, type->BitField.backing_type);
}
GB_PANIC("Invalid type %s", type_to_string(type));