Clean up OPT_STACK_CACHING (#8132)

This commit is contained in:
Takashi Kokubun 2023-07-27 17:27:05 -07:00 committed by GitHub
parent bf4d64d8d0
commit 38be9a9b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2023-07-28 00:27:27 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
16 changed files with 5 additions and 265 deletions

View file

@ -21,11 +21,7 @@ typedef rb_iseq_t *ISEQ;
#define DEBUG_ENTER_INSN(insn) \
rb_vmdebug_debug_print_pre(ec, GET_CFP(), GET_PC());
#if OPT_STACK_CACHING
#define SC_REGS() , reg_a, reg_b
#else
#define SC_REGS()
#endif
#define DEBUG_END_INSN() \
rb_vmdebug_debug_print_post(ec, GET_CFP() SC_REGS());