mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
th
-> ec
for VM dump related functions.
* vm_dump.c: `th` -> `ec` (and constify) for: * control_frame_dump * rb_vmdebug_stack_dump_raw * rb_vmdebug_debug_print_register * rb_vmdebug_debug_print_pre * rb_vmdebug_debug_print_post git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a93c650312
commit
8702a33dd2
3 changed files with 40 additions and 40 deletions
|
@ -27,7 +27,7 @@ typedef rb_iseq_t *ISEQ;
|
|||
#if VMDEBUG > 0
|
||||
#define debugs printf
|
||||
#define DEBUG_ENTER_INSN(insn) \
|
||||
rb_vmdebug_debug_print_pre(th, GET_CFP(),GET_PC());
|
||||
rb_vmdebug_debug_print_pre(ec, GET_CFP(), GET_PC());
|
||||
|
||||
#if OPT_STACK_CACHING
|
||||
#define SC_REGS() , reg_a, reg_b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue