diff options
| author | gingerBill <bill@gingerbill.org> | 2018-10-17 21:16:01 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-10-17 21:16:01 +0100 |
| commit | b171cc41e6cc0271656593b547c3f8b27664d5bc (patch) | |
| tree | c34fc8d8555fbf6892ff6798bc7ed52208f6f3da /src/check_type.cpp | |
| parent | efc3a9e69dd072b678a78535d7b5a5f71e474024 (diff) | |
__atomic_* "intrinsics" using LLVM instructions
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |