From 77efdcd89911f1c9b831cfcf5e5aba49ec8d53d5 Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Thu, 2 May 2024 19:23:17 +0200 Subject: fix packed gep loads with wrong alignment --- src/types.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index 0c6729b87..3ec05059f 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -948,6 +948,7 @@ gb_internal void set_base_type(Type *t, Type *base) { } } + gb_internal Type *alloc_type(TypeKind kind) { // gbAllocator a = heap_allocator(); gbAllocator a = permanent_allocator(); -- cgit v1.2.3