Add the cast statement to the statement block.

*sob*
This commit is contained in:
Bill Currie 2011-03-10 20:43:53 +09:00
parent f663f587fe
commit 5aa0b34570

View file

@ -628,6 +628,7 @@ expr_cast (sblock_t *sblock, expr_t *e, operand_t **op)
s = new_statement ("=", e);
s->opa = src;
s->opc = *op;
sblock_add_statement (sblock, s);
} else {
src->type = low_level_type (e->e.expr.type);
*op = src;