aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-05-02 11:27:40 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-05-07 16:52:46 +0200
commit58c0abb98d50fa9f2cd1e0ab2ce255430f5d9253 (patch)
tree736046f10fac4f5aaa5536028b2fda8c25542020 /src/check_type.cpp
parentd93cc18dacf7800972cab91053fc1ed3c68dd34b (diff)
revert wrong approach in fixing the load alignment
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 9653a980b..c119ce6b5 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -135,8 +135,6 @@ gb_internal void check_struct_fields(CheckerContext *ctx, Ast *node, Slice<Entit
if (is_type_polymorphic(type)) {
struct_type->Struct.is_polymorphic = true;
type = nullptr;
- } else if(struct_type->Struct.is_packed) {
- type->flags |= TypeFlag_Packed;
}
}
if (type == nullptr) {