actually no :)

This commit is contained in:
Wolfgang Bumiller 2013-06-22 20:31:50 +02:00
parent b534aca263
commit b39a748984

2
ir.c
View file

@ -2625,7 +2625,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 == vec->life[0].end)
if (vec->reads[s]->eid == v->life[0].end)
break;
}
if (s < vec_size(vec->reads)) {