From: Wolfgang Bumiller Date: Sat, 22 Jun 2013 18:31:50 +0000 (+0200) Subject: actually no :) X-Git-Tag: v0.3.0~80 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=b39a748984064f4eea79a082caa1fe1151f20622;ds=sidebyside actually no :) --- diff --git a/ir.c b/ir.c index 65670c9..5e88587 100644 --- a/ir.c +++ b/ir.c @@ -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)) {