mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qfcc] Initialize statement numbers to -1
This is to indicate the statement has not yet been flow analyzed.
This commit is contained in:
parent
d02a01c282
commit
c5cbe83f71
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue