From: Wolfgang (Blub) Bumiller Date: Thu, 6 Dec 2012 20:39:34 +0000 (+0100) Subject: s/ir_function_pass_minor/ir_function_pass_peephole/ X-Git-Tag: 0.1.9~99 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8858f265dd048bef0f3e4bd4cb7ee2beaff6f81f;p=xonotic%2Fgmqcc.git s/ir_function_pass_minor/ir_function_pass_peephole/ --- diff --git a/ir.c b/ir.c index afb1282..11b3445 100644 --- a/ir.c +++ b/ir.c @@ -538,7 +538,7 @@ static bool instr_is_operation(uint16_t op) (op >= INSTR_AND && op <= INSTR_BITOR) ); } -bool ir_function_pass_minor(ir_function *self) +bool ir_function_pass_peephole(ir_function *self) { size_t b; @@ -688,7 +688,7 @@ bool ir_function_finalize(ir_function *self) return true; if (OPTS_OPTIMIZATION(OPTIM_PEEPHOLE)) { - if (!ir_function_pass_minor(self)) { + if (!ir_function_pass_peephole(self)) { irerror(self->context, "generic optimization pass broke something in `%s`", self->name); return false; }