size_t i;
/* create a store */
- ir_block_create_store(block, old, what);
+ if (!ir_block_create_store(block, old, what))
+ return false;
/* we now move it up */
instr = block->instr[block->instr_count-1];
/* If it originally wrote to a global we need to store the value
* there as welli
*/
- ir_naive_phi_emit_store(self, i+1, old, v);
+ if (!ir_naive_phi_emit_store(self, i+1, old, v))
+ return false;
if (i+1 < self->instr_count)
instr = self->instr[i+1];
else