diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-12 19:09:15 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-12 19:09:15 +0000 |
| commit | 57c26d994b482aacf3c125da029efb919be82ff3 (patch) | |
| tree | 460007b317e17a251d60aacdf6b69a24d9b607cc /vm_dump.c | |
| parent | 30b878ae1eccd977ed421ec853634cd8f7798c6b (diff) | |
| download | ruby-57c26d994b482aacf3c125da029efb919be82ff3.tar.gz ruby-57c26d994b482aacf3c125da029efb919be82ff3.tar.xz ruby-57c26d994b482aacf3c125da029efb919be82ff3.zip | |
* vm_dump.c (debug_print_pre): fix to show control frame count.
* insns.def (opt_call_c_function): fix operand type.
* lib/vm/instruction.rb: ditto.
* insnhelper.ci (vm_push_frame, vm_pop_frame): fix to show
control stack status on if VMDEBUG == 2.
* vm.h: add a comment about VMDEBUG.
* iseq.c (find_prev_line_no): fix to skip bug report if
line is not found.
* lib/vm/instruction.rb: fix to use build_string() on
source code generators.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
| -rw-r--r-- | vm_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |
