mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
[qfcc] Mark the correct operand as used in stores
This fixes the lost-use test, and windows not dragging properly in qwaq-curses. Another single-character bug-fix :P
This commit is contained in:
parent
b6093e0728
commit
adf672e7b1
1 changed files with 1 additions and 1 deletions
|
@ -1225,7 +1225,7 @@ flow_analyze_statement (statement_t *s, set_t *use, set_t *def, set_t *kill,
|
|||
src_op = s->opa;
|
||||
aux_op2 = s->opc;
|
||||
} else if (!strcmp (s->opcode, "store")) {
|
||||
flow_add_op_var (use, s->opb, 1);
|
||||
flow_add_op_var (use, s->opc, 1);
|
||||
res_op = flow_analyze_pointer_operand (s->opa, def);
|
||||
src_op = s->opc;
|
||||
aux_op2 = s->opa;
|
||||
|
|
Loading…
Reference in a new issue