]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix code generation for bit.bnot().
authorMike Pall <mike>
Mon, 7 Mar 2011 21:11:01 +0000 (22:11 +0100)
committerMike Pall <mike>
Mon, 7 Mar 2011 21:11:01 +0000 (22:11 +0100)
src/lj_asm.c

index 889ab66834038c65de51e58669f2c9469200b62b..cb8f12c8d186b31d125d21ea8191c3206e279764 100644 (file)
@@ -4007,7 +4007,7 @@ static void asm_ir(ASMState *as, IRIns *ir)
   case IR_RETF: asm_retf(as, ir); break;
 
   /* Bit ops. */
-  case IR_BNOT: asm_neg_not(as, ir, XOg_NOT);
+  case IR_BNOT: asm_neg_not(as, ir, XOg_NOT); break;
   case IR_BSWAP: asm_bitswap(as, ir); break;
 
   case IR_BAND: asm_intarith(as, ir, XOg_AND); break;