Expose new_statement, too.

This commit is contained in:
Bill Currie 2012-11-07 15:52:37 +09:00
parent 69543cf85b
commit 1c32ac8ce6
2 changed files with 2 additions and 1 deletions

View file

@ -87,6 +87,7 @@ struct type_s;
operand_t *temp_operand (struct type_s *type);
sblock_t *new_sblock (void);
statement_t *new_statement (const char *opcode, struct expr_s *expr);
int find_operands (statement_t *s, operand_t **x, operand_t **y, operand_t **z,
operand_t **w);
void sblock_add_statement (sblock_t *sblock, statement_t *statement);

View file

@ -283,7 +283,7 @@ sblock_add_statement (sblock_t *sblock, statement_t *statement)
sblock->tail = &statement->next;
}
static statement_t *
statement_t *
new_statement (const char *opcode, expr_t *expr)
{
statement_t *statement;