From 8858f265dd048bef0f3e4bd4cb7ee2beaff6f81f Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 6 Dec 2012 21:39:34 +0100 Subject: [PATCH] s/ir_function_pass_minor/ir_function_pass_peephole/ --- ir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2