From 72f4186b216175b96c6692aa668644f78d8ccb13 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 20 Oct 2018 12:55:48 +0100 Subject: Fix atomic.odin --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 9189d63c3..e2dabcbe9 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -5282,7 +5282,7 @@ irValue *ir_build_expr_internal(irProcedure *proc, Ast *expr) { Ast *p = unparen_expr(ce->proc); if (proc_mode == Addressing_Builtin) { - Entity *e = entity_of_ident(p); + Entity *e = entity_of_node(p); BuiltinProcId id = BuiltinProc_Invalid; if (e != nullptr) { id = cast(BuiltinProcId)e->Builtin.id; -- cgit v1.2.3