aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_proc.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-19 11:01:41 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-19 11:01:41 +0100
commit6ce889f4ebf10d44fc6c1e5fba794e412dfcf183 (patch)
tree89845f7684f36fd690ed6f90b4e0f7b875f06604 /src/llvm_backend_proc.cpp
parent5f76d6ce15d6518f327b89ab111a6a90a832d81d (diff)
`Entity *` to `std::atomic<Entity *>` to remove the need for a PtrMap+Mutex
Diffstat (limited to 'src/llvm_backend_proc.cpp')
-rw-r--r--src/llvm_backend_proc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp
index 20d627fa2..f71b693eb 100644
--- a/src/llvm_backend_proc.cpp
+++ b/src/llvm_backend_proc.cpp
@@ -2211,7 +2211,7 @@ gb_internal lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValu
GB_ASSERT(e != nullptr);
if (e->parent_proc_decl != nullptr && e->parent_proc_decl->entity != nullptr) {
- procedure = e->parent_proc_decl->entity->token.string;
+ procedure = e->parent_proc_decl->entity.load()->token.string;
} else {
procedure = str_lit("");
}