[qfcc] Initialize statement numbers to -1

This is to indicate the statement has not yet been flow analyzed.
This commit is contained in:
Bill Currie 2020-03-17 14:47:34 +09:00
parent d02a01c282
commit c5cbe83f71

View file

@ -296,6 +296,7 @@ new_statement (st_type_t type, const char *opcode, expr_t *expr)
statement->type = type; statement->type = type;
statement->opcode = save_string (opcode); statement->opcode = save_string (opcode);
statement->expr = expr; statement->expr = expr;
statement->number = -1; // indicates flow analysis not done yet
return statement; return statement;
} }