[jit] Add missing div check to OP_IREM_IMM.
[mono.git] / mono / mini / decompose.c
index 30e8f7f91dc88cf770d4e863477f4ea00ee160f0..498bfaafdb345273ce5e4db8957326974e9617c7 100644 (file)
@@ -506,6 +506,7 @@ mono_decompose_opcode (MonoCompile *cfg, MonoInst *ins)
        case OP_DIV_IMM:
        case OP_REM_IMM:
        case OP_IDIV_IMM:
+       case OP_IREM_IMM:
        case OP_IDIV_UN_IMM:
        case OP_IREM_UN_IMM:
                if (cfg->backend->need_div_check) {