mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove obsoleted USE_INSNS_COUNTER macro for now
I don't use that these days. I'd like to remove this to ease a change I'm writing. I'll resurrect this when I need this again.
This commit is contained in:
parent
7299c8c0f1
commit
d45118aaaf
2 changed files with 1 additions and 37 deletions
|
@ -40,10 +40,6 @@ typedef rb_iseq_t *ISEQ;
|
|||
#define throwdebug if(0)ruby_debug_printf
|
||||
/* #define throwdebug ruby_debug_printf */
|
||||
|
||||
#ifndef USE_INSNS_COUNTER
|
||||
#define USE_INSNS_COUNTER 0
|
||||
#endif
|
||||
|
||||
/************************************************/
|
||||
#if defined(DISPATCH_XXX)
|
||||
error !
|
||||
|
@ -80,8 +76,7 @@ error !
|
|||
(reg_cfp->pc - ISEQ_BODY(reg_cfp->iseq)->iseq_encoded), \
|
||||
RSTRING_PTR(rb_iseq_path(reg_cfp->iseq)), \
|
||||
rb_iseq_line_no(reg_cfp->iseq, reg_pc - ISEQ_BODY(reg_cfp->iseq)->iseq_encoded)); \
|
||||
} \
|
||||
if (USE_INSNS_COUNTER) vm_insns_counter_count_insn(BIN(insn));
|
||||
}
|
||||
|
||||
#define INSN_DISPATCH_SIG(insn)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue