From b171cc41e6cc0271656593b547c3f8b27664d5bc Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 17 Oct 2018 21:16:01 +0100 Subject: __atomic_* "intrinsics" using LLVM instructions --- src/check_type.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/check_type.cpp') diff --git a/src/check_type.cpp b/src/check_type.cpp index 9704db081..f1c9875a1 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2068,6 +2068,7 @@ i64 check_array_count(CheckerContext *ctx, Operand *o, Ast *e) { } Type *make_optional_ok_type(Type *value) { + // LEAK TODO(bill): probably don't reallocate everything here and reuse the same one for the same type if possible gbAllocator a = heap_allocator(); bool typed = true; Type *t = alloc_type_tuple(); -- cgit v1.2.3