From 0c8bacd134281dde39d2bc9d50952ac0377e64f4 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 4 Dec 2012 14:11:49 +0100 Subject: [PATCH] ast_ternary_codegen: use codegen_outpu_type --- ast.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.2