From b470ceb4705477ef42a1efc2c8beb5e3ceef2f88 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 12 Jan 2023 12:59:09 +0000 Subject: Correct `mpsc_dequeue` --- src/check_builtin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_builtin.cpp') diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index a7d5536e7..290b1b8cd 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -1687,7 +1687,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As case BuiltinProc___entry_point: operand->mode = Addressing_NoValue; operand->type = nullptr; - mpmc_enqueue(&c->info->intrinsics_entry_point_usage, call); + mpsc_enqueue(&c->info->intrinsics_entry_point_usage, call); break; case BuiltinProc_DIRECTIVE: -- cgit v1.2.3