Expose dump_dot_sblock.

This commit is contained in:
Bill Currie 2012-11-07 14:07:21 +09:00
parent 88b8bebe3c
commit c43a8331cf
2 changed files with 2 additions and 1 deletions

View file

@ -88,6 +88,7 @@ int find_operands (statement_t *s, operand_t **x, operand_t **y, operand_t **z,
operand_t **w);
sblock_t *make_statements (struct expr_s *expr);
void print_statement (statement_t *s);
void dump_dot_sblock (void *data, const char *fname);
void print_sblock (sblock_t *sblock, const char *filename);
const char *operand_string (operand_t *op);

View file

@ -1434,7 +1434,7 @@ check_final_block (sblock_t *sblock)
sblock_add_statement (sblock, s);
}
static void
void
dump_dot_sblock (void *data, const char *fname)
{
print_sblock ((sblock_t *) data, fname);