Fix atomic.odin

This commit is contained in:
gingerBill
2018-10-20 12:55:48 +01:00
parent 3742d9e7e9
commit 72f4186b21
4 changed files with 15 additions and 19 deletions
+1 -1
View File
@@ -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;