X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ast.cpp;h=eca80dee374f629805b15229a11d935e205a117c;hp=1b6d40131aa66738af83cf21e1d5b47d89092758;hb=95d232ca7285b49ce1bdccbe81c2c444c68e1c4d;hpb=90f190f5e19c1981280eedb37b9439cd9542372d diff --git a/ast.cpp b/ast.cpp index 1b6d401..eca80de 100644 --- a/ast.cpp +++ b/ast.cpp @@ -1804,7 +1804,7 @@ bool ast_binary::codegen(ast_function *func, bool lvalue, ir_value **out) return false; } /* use the likely flag */ - vec_last(func->m_curblock->m_instr)->m_likely = true; + func->m_curblock->m_instr.back()->m_likely = true; /* enter the right-expression's block */ func->m_curblock = other;