X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ir.c;h=7d83720c4d4afb3cd56ec90a08b9cc1ad7dde9d3;hp=fbb79f2e6cd0e03005cb7c5167fe229279e485bc;hb=8d5e7190261d2ed0f214ef175d8451df3dbd4dc8;hpb=0cfc275f8200ff0d126a597dfab315828a3fb9af;ds=sidebyside diff --git a/ir.c b/ir.c index fbb79f2..7d83720 100644 --- a/ir.c +++ b/ir.c @@ -1586,10 +1586,6 @@ bool ir_block_create_return(ir_block *self, lex_ctx_t ctx, ir_value *v) self->final = true; - /* can eliminate the return instructions for accumulation */ - if (self->owner->flags & IR_FLAG_ACCUMULATE) - return true; - self->is_return = true; in = ir_instr_new(ctx, self, INSTR_RETURN); if (!in)