From: Wolfgang Bumiller Date: Tue, 1 May 2012 14:27:36 +0000 (+0200) Subject: create_phi -> store_value, not store_local... phi output cannot be overwritten X-Git-Tag: 0.1-rc1~528 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=cde5444f24e13efa4167ad2e67a656d9246802b1;p=xonotic%2Fgmqcc.git create_phi -> store_value, not store_local... phi output cannot be overwritten --- diff --git a/ir.c b/ir.c index ea3a9ca..cfcbb85 100644 --- a/ir.c +++ b/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;