aboutsummaryrefslogtreecommitdiff
path: root/src/tilde_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-19 12:26:59 +0100
committergingerBill <bill@gingerbill.org>2023-08-19 12:26:59 +0100
commit0cb9908f27b9b6e28b968bd8abb7c5f46d203c97 (patch)
treeceabdbc6f3c637eaac1a5fc4025e298632039485 /src/tilde_expr.cpp
parent15033eab28d8261e65addb70d931d514a73530c7 (diff)
Update Tilde
Diffstat (limited to 'src/tilde_expr.cpp')
-rw-r--r--src/tilde_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tilde_expr.cpp b/src/tilde_expr.cpp
index dfb04774e..cd4e9f2d3 100644
--- a/src/tilde_expr.cpp
+++ b/src/tilde_expr.cpp
@@ -55,7 +55,7 @@ gb_internal cgAddr cg_find_or_generate_context_ptr(cgProcedure *p) {
GB_ASSERT(pt->Proc.calling_convention != ProcCC_Odin);
cgAddr c = cg_add_local(p, t_context, nullptr, true);
- tb_node_append_attrib(c.addr.node, tb_function_attrib_variable(p->func, -1, "context", cg_debug_type(p->module, t_context)));
+ tb_function_attrib_variable(p->func, c.addr.node, nullptr, -1, "context", cg_debug_type(p->module, t_context));
c.kind = cgAddr_Context;
// lb_emit_init_context(p, c);
cg_push_context_onto_stack(p, c);