mono_interp_print_code (InterpMethod *imethod)
{
MonoJitInfo *jinfo = imethod->jinfo;
- const guint16 *start;
+ const guint8 *start;
if (!jinfo)
return;
g_print ("Method : %s\n", name);
g_free (name);
- start = (guint16*) jinfo->code_start;
- dump_mint_code (start, start + jinfo->code_size);
+ start = (guint8*) jinfo->code_start;
+ dump_mint_code ((const guint16*)start, (const guint16*)(start + jinfo->code_size));
}
}
// The instruction pops some values then pushes some other
get_inst_stack_usage (td, ins, &pop, &push);
- if (td->verbose_level) {
+ if (td->verbose_level && ins->opcode != MINT_NOP) {
dump_interp_inst (ins);
g_print (", sp %d, (pop %d, push %d)\n", sp - stack, pop, push);
}