summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-04 21:30:32 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-04 21:30:32 +0900
commitc8a18e25c1cc9a44231b97e12f30a98cf9d979bb (patch)
treeb07165e0a68d050dc7a8dc954976ef5f238fb88d /vm_core.h
parent113bef697633803a33a547914b16ba5fbef165b8 (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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index 8eb155585e..7ff943a3e8 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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);