Don't bother to chain NOPs.

This commit is contained in:
Mike Pall
2011-08-11 22:04:38 +02:00
parent e8fa76feac
commit 05ef03e2d0
3 changed files with 6 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ static void rec_check_ir(jit_State *J)
if (ir->prev) {
lua_assert(ir->prev >= nk);
lua_assert(i >= REF_BIAS ? ir->prev < i : ir->prev > i);
lua_assert(IR(ir->prev)->o == ir->o);
lua_assert(ir->o == IR_NOP || IR(ir->prev)->o == ir->o);
}
}
}