Actually it's likely...

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-21 17:42:44 +01:00
parent 5a6b2bceb2
commit bd1bc0dc59

4
ast.c
View file

@ -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;