printf (mono_inst_name (tree->opcode));
if (OP_IS_OUTARG (tree->opcode)) {
- printf ("[OUT:%d]", tree->inst_c1);
+ printf ("[OUT:%ld]", (long)tree->inst_c1);
}
switch (tree->opcode) {
switch (inst->inst_i0->opcode) {
case OP_LOCAL:
case OP_ARG:
- printf ("{%d}", inst->inst_i0->inst_c0);
+ printf ("{%ld}", (long)inst->inst_i0->inst_c0);
break;
case OP_RETARG:
printf ("{RETARG}");
} else {
MonoLocalVariableList *last = use->affected_variables;
while (last->next != NULL) {
- while (info->variable_is_uncontrollably_aliased [last->next->variable_index]) {
+ while (last->next && info->variable_is_uncontrollably_aliased [last->next->variable_index]) {
last->next = last->next->next;
}
if (last->next != NULL) {
if ((! has_side_effects) && (inst->ssa_op == MONO_SSA_STORE)) {
if (LOG_DEADCE) {
- printf ("FILLING slot %d with inst ", inst->inst_i0->inst_c0);
+ printf ("FILLING slot %d with inst ", (int)inst->inst_i0->inst_c0);
mono_print_tree_nl (inst);
}
possibly_dead_assignments [inst->inst_i0->inst_c0] = inst;