diff options
author | Yusuke Endoh <[email protected]> | 2019-10-04 21:30:32 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2019-10-04 21:30:32 +0900 |
commit | c8a18e25c1cc9a44231b97e12f30a98cf9d979bb (patch) | |
tree | b07165e0a68d050dc7a8dc954976ef5f238fb88d /vm_core.h | |
parent | 113bef697633803a33a547914b16ba5fbef165b8 (diff) |
iseq.c (rb_iseq_compile_on_base): Removed
ko1 cannot remember why he introduced the function. And it is not used.
After it is removed, the argument "base_block" of
rb_iseq_compile_with_option is always zero.
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1021,8 +1021,7 @@ rb_iseq_t *rb_iseq_new_with_callback(const struct rb_iseq_new_with_callback_call /* src -> iseq */ rb_iseq_t *rb_iseq_compile(VALUE src, VALUE file, VALUE line); -rb_iseq_t *rb_iseq_compile_on_base(VALUE src, VALUE file, VALUE line, const struct rb_block *base_block); -rb_iseq_t *rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE realpath, VALUE line, const struct rb_block *base_block, VALUE opt); +rb_iseq_t *rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE realpath, VALUE line, VALUE opt); VALUE rb_iseq_disasm(const rb_iseq_t *iseq); int rb_iseq_disasm_insn(VALUE str, const VALUE *iseqval, size_t pos, const rb_iseq_t *iseq, VALUE child); |