From a4c6382fa4f2c709fbfd648d030f0958410e4fd6 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 19 Aug 2012 20:43:34 +0200 Subject: [PATCH] more context copies --- ast.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ast.c b/ast.c index f2d055d..50b6e87 100644 --- a/ast.c +++ b/ast.c @@ -854,6 +854,7 @@ bool ast_local_codegen(ast_value *self, ir_function *func, bool param) v = ir_function_create_local(func, self->name, self->expression.vtype, param); if (!v) return false; + v->context = ast_ctx(self); /* A constant local... hmmm... * I suppose the IR will have to deal with this -- 2.39.2