From: Wolfgang (Blub) Bumiller Date: Tue, 4 Dec 2012 13:11:49 +0000 (+0100) Subject: ast_ternary_codegen: use codegen_outpu_type X-Git-Tag: 0.1.9~115 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0c8bacd134281dde39d2bc9d50952ac0377e64f4;p=xonotic%2Fgmqcc.git ast_ternary_codegen: use codegen_outpu_type --- diff --git a/ast.c b/ast.c index 31df700..96fdf65 100644 --- a/ast.c +++ b/ast.c @@ -2346,6 +2346,8 @@ bool ast_ternary_codegen(ast_ternary *self, ast_function *func, bool lvalue, ir_ self->expression.outr = ir_phi_value(phi); *out = self->expression.outr; + codegen_output_type(self, *out); + return true; }