From d6c54148d93a649dbf8d75f97c5c487431b0c8fd Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 12 Jan 2023 15:23:59 +0000 Subject: Minor clean up --- src/checker.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/checker.cpp') diff --git a/src/checker.cpp b/src/checker.cpp index 8d6462f8b..6d73348d1 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -1158,8 +1158,6 @@ gb_internal void init_checker_info(CheckerInfo *i) { string_map_init(&i->load_file_cache); array_init(&i->all_procedures, heap_allocator()); - TIME_SECTION("checker info: mpmc queues"); - mpsc_init(&i->entity_queue, a); // 1<<20); mpsc_init(&i->definition_queue, a); //); // 1<<20); mpsc_init(&i->required_global_variable_queue, a); // 1<<10); @@ -1711,7 +1709,6 @@ gb_internal void add_entity_and_decl_info(CheckerContext *c, Ast *identifier, En is_lazy = (e->flags & EntityFlag_Lazy) == EntityFlag_Lazy; if (!is_lazy) { - GB_ASSERT(e != nullptr); queue_count = mpsc_enqueue(&info->entity_queue, e); } -- cgit v1.2.3