From 58c0abb98d50fa9f2cd1e0ab2ce255430f5d9253 Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Thu, 2 May 2024 11:27:40 +0200 Subject: revert wrong approach in fixing the load alignment --- src/check_type.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/check_type.cpp') 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, SliceStruct.is_polymorphic = true; type = nullptr; - } else if(struct_type->Struct.is_packed) { - type->flags |= TypeFlag_Packed; } } if (type == nullptr) { -- cgit v1.2.3