From: Wolfgang (Blub) Bumiller Date: Wed, 22 Aug 2012 14:20:26 +0000 (+0200) Subject: for liferange calc: the block we start from must tart with an empty set of living... X-Git-Tag: 0.1-rc1~93 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d884bcb456d0a4727ef590b25aa9bbffd55dfd3;p=xonotic%2Fgmqcc.git for liferange calc: the block we start from must tart with an empty set of living values --- diff --git a/ir.c b/ir.c index 1f09a9a..0dc785a 100644 --- a/ir.c +++ b/ir.c @@ -1812,6 +1812,7 @@ bool ir_function_calculate_liferanges(ir_function *self) { if (self->blocks[i]->is_return) { + self->blocks[i]->living_count = 0; if (!ir_block_life_propagate(self->blocks[i], NULL, &changed)) return false; }