mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
I'm assuming this is a bug since all other read tests compare with itself's ir_value, and only this one doesn't. Otherwise why would you need to load to an ir_value for vec?
This commit is contained in:
parent
5bdf0aff81
commit
458cfcb48c
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -2624,7 +2624,7 @@ bool ir_function_calculate_liferanges(ir_function *self)
|
|||
if (v->memberof) {
|
||||
ir_value *vec = v->memberof;
|
||||
for (s = 0; s < vec_size(vec->reads); ++s) {
|
||||
if (vec->reads[s]->eid == v->life[0].end)
|
||||
if (vec->reads[s]->eid == vec->life[0].end)
|
||||
break;
|
||||
}
|
||||
if (s < vec_size(vec->reads)) {
|
||||
|
|
Loading…
Reference in a new issue