add codegen_output_type to ast_binary_codegen

This commit is contained in:
Wolfgang Bumiller 2012-12-31 13:20:08 +01:00
parent 0c673dfebb
commit 5a5cb74db2

2
ast.c
View file

@ -1846,6 +1846,7 @@ bool ast_binary_codegen(ast_binary *self, ast_function *func, bool lvalue, ir_va
}
self->expression.outr = *out;
codegen_output_type(self, *out);
return true;
}
@ -1862,6 +1863,7 @@ bool ast_binary_codegen(ast_binary *self, ast_function *func, bool lvalue, ir_va
if (!*out)
return false;
self->expression.outr = *out;
codegen_output_type(self, *out);
return true;
}