1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Refactor rb_vm_insn_addr2insn calls

It's been a way too much amount of ifdefs.
This commit is contained in:
Takashi Kokubun 2021-06-02 01:16:49 -07:00
parent c32ce2cbf1
commit 070caf54d2
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD
5 changed files with 19 additions and 31 deletions

View file

@ -23,6 +23,7 @@ VALUE rb_insns_name_array(void);
/* iseq.c */
int rb_vm_insn_addr2insn(const void *);
int rb_vm_insn_decode(const VALUE encoded);
MJIT_SYMBOL_EXPORT_BEGIN
/* iseq.c (export) */