aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-05-02 19:23:17 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-05-07 16:52:46 +0200
commit77efdcd89911f1c9b831cfcf5e5aba49ec8d53d5 (patch)
tree331fd8d41472f19008ca1e85b22a5a06018fb25c /src/types.cpp
parent58c0abb98d50fa9f2cd1e0ab2ce255430f5d9253 (diff)
fix packed gep loads with wrong alignment
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp1
1 files changed, 1 insertions, 0 deletions
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();