Merge pull request #2663 from esdrubal/islocal
[mono.git] / mono / mini / decompose.c
index 30e8f7f91dc88cf770d4e863477f4ea00ee160f0..10c8c75e134d359dd829d023521131246a1f8f67 100644 (file)
@@ -471,6 +471,7 @@ mono_decompose_opcode (MonoCompile *cfg, MonoInst *ins)
                }
                break;
 
+#if SIZEOF_VOID_P == 8
        case OP_LDIV:
        case OP_LREM:
        case OP_LDIV_UN:
@@ -502,10 +503,12 @@ mono_decompose_opcode (MonoCompile *cfg, MonoInst *ins)
                        NULLIFY_INS (ins);
                }
                break;
+#endif
 
        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) {