summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 0f782e68c1..1c54413f39 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -358,6 +358,7 @@ debug_print_pre(rb_thread_t *th, rb_control_frame_t *cfp)
VALUE *seq = iseq->iseq;
int pc = cfp->pc - iseq->iseq_encoded;
+ printf("%3d ", VM_CFP_CNT(th, cfp));
ruby_iseq_disasm_insn(0, seq, pc, iseq, 0);
}