]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
s/ir_function_pass_minor/ir_function_pass_peephole/
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 6 Dec 2012 20:39:34 +0000 (21:39 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 6 Dec 2012 20:39:34 +0000 (21:39 +0100)
ir.c

diff --git a/ir.c b/ir.c
index afb12829af58f8d0b0d57c4efbc5ab6246fc3897..11b34458e60deaecf5f1150ba63afc4e98ff113f 100644 (file)
--- 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;
         }