[interp] fix offsets in switch insn dump (only affects debug output)

This commit is contained in:
Bernhard Urban 2017-10-04 12:38:37 +02:00
Родитель 3a8cb50b07
Коммит fa92fa86c2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -106,7 +106,7 @@ mono_interp_dis_mintop(const guint16 *base, const guint16 *ip)
if (i > 0)
g_print (", ");
offset = (gint32)READ32 (p);
g_print ("IL_%04x", p + offset);
g_print ("IL_%04x", p + offset - base);
p += 2;
}
g_print (")");