mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
create_phi -> store_value, not store_local... phi output cannot be overwritten
This commit is contained in:
parent
0337320054
commit
cde5444f24
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -846,7 +846,7 @@ ir_instr* ir_block_create_phi(ir_block *self, const char *label, int ot)
|
|||
in = ir_instr_new(self, VINSTR_PHI);
|
||||
if (!in)
|
||||
return NULL;
|
||||
out = ir_value_out(self->owner, label, store_local, ot);
|
||||
out = ir_value_out(self->owner, label, store_value, ot);
|
||||
if (!out) {
|
||||
ir_instr_delete(in);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue