[interp] Fix debug build. (mono/mono#16720)
authorJay Krell <jaykrell@microsoft.com>
Sun, 8 Sep 2019 06:25:33 +0000 (23:25 -0700)
committerVlad Brezae <brezaevlad@gmail.com>
Sun, 8 Sep 2019 06:25:33 +0000 (09:25 +0300)
Commit migrated from https://github.com/mono/mono/commit/8c77bcdfaf841fea6214f8027afbc54c8db6de80

src/mono/mono/mini/interp/interp.c

index acc05e7..4e74e4c 100644 (file)
@@ -2855,7 +2855,7 @@ static int opcode_counts[512];
                sp->data.l = 0; \
                output_indent (); \
                char *mn = mono_method_full_name (frame->imethod->method, FALSE); \
-               char *disasm = mono_interp_dis_mintop(imethod->code, ip); \
+               char *disasm = mono_interp_dis_mintop (frame->imethod->code, ip); \
                g_print ("(%p) %s -> %s\t%d:%s\n", mono_thread_internal_current (), mn, disasm, vt_sp - vtalloc, ins); \
                g_free (mn); \
                g_free (ins); \