From: Wolfgang (Blub) Bumiller Date: Sun, 19 Aug 2012 18:43:34 +0000 (+0200) Subject: more context copies X-Git-Tag: 0.1-rc1~140 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a4c6382fa4f2c709fbfd648d030f0958410e4fd6;p=xonotic%2Fgmqcc.git more context copies --- 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