From 1a0614b0d7f4b6010d79ac0a402d3c4c1f389529 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 27 May 2020 18:23:37 +0100 Subject: Improve performance of tokenization and parsing --- src/types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index 274ad2ced..3a0613b2c 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -770,7 +770,7 @@ void set_base_type(Type *t, Type *base) { Type *alloc_type(TypeKind kind) { gbAllocator a = heap_allocator(); Type *t = gb_alloc_item(a, Type); - gb_zero_item(t); + zero_item(t); t->kind = kind; t->cached_size = -1; t->cached_align = -1; -- cgit v1.2.3