return; \
if (inst->inst_i1->opcode == OP_ICONST) { \
inst->opcode = OP_ICONST; \
- inst->inst_c0 = inst->inst_i0->inst_c0 op inst->inst_i1->inst_c0; \
+ inst->inst_c0 = (gint32)(inst->inst_i0->inst_c0 op inst->inst_i1->inst_c0); \
} \
return;
if (inst->inst_i0->opcode == OP_ICONST) {\
if (inst->inst_i1->opcode == OP_ICONST) { \
inst->opcode = OP_ICONST; \
- inst->inst_c0 = inst->inst_i0->inst_c0 op inst->inst_i1->inst_c0; \
+ inst->inst_c0 = (gint32)(inst->inst_i0->inst_c0 op inst->inst_i1->inst_c0); \
return; \
} else { \
MonoInst *tmp = inst->inst_i0; \
return; \
if (inst->inst_i0->inst_i1->opcode == OP_ICONST) { \
if ((cast)inst->inst_i0->inst_i0->inst_c0 op (cast)inst->inst_i0->inst_i1->inst_c0) \
- inst->opcode = CEE_BR; \
+ inst->opcode = OP_BR; \
else \
- inst->opcode = CEE_NOP; \
+ inst->opcode = OP_NOP; \
} \
return;