diff options
| author | gingerBill <bill@gingerbill.org> | 2018-10-20 12:55:48 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-10-20 12:55:48 +0100 |
| commit | 72f4186b216175b96c6692aa668644f78d8ccb13 (patch) | |
| tree | 385f46d2482302cd87e96bd637834af205ccc160 /src/ir.cpp | |
| parent | 3742d9e7e9fbb02058c7da9030a0abb023e7b244 (diff) | |
Fix atomic.odin
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |