]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Actually it's likely...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 21 Nov 2012 16:42:44 +0000 (17:42 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Wed, 21 Nov 2012 16:42:44 +0000 (17:42 +0100)
ast.c

diff --git a/ast.c b/ast.c
index f5ed565e93644b202798d2ff88c33ada85d57656..cb68f06b32cce73bb2c0d1b23f70aa52ab409e98 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -1538,8 +1538,8 @@ bool ast_binary_codegen(ast_binary *self, ast_function *func, bool lvalue, ir_va
             if (!ir_block_create_if(func->curblock, left, merge, other))
                 return false;
         }
-        /* use the unlikely flag */
-        vec_last(func->curblock->instr)->likely = false;
+        /* use the likely flag */
+        vec_last(func->curblock->instr)->likely = true;
 
         func->curblock = other;
         cgen = self->right->expression.codegen;