diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-11-18 12:13:08 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-11-19 12:36:19 +0900 |
commit | 0e8219f591f3f17cb7ee361e8a60dbef08145883 (patch) | |
tree | 89704f4d90521cf52ef1befc5e87429f8a9d5da3 /iseq.h | |
parent | 78e266da1dede1c81e634982e76a129c5720d80e (diff) | |
download | ruby-0e8219f591f3f17cb7ee361e8a60dbef08145883.tar.gz |
make functions static
These functions are used from within a compilation unit so we can
make them static, for better binary size. This changeset reduces
the size of generated ruby binary from 26,590,128 bytes to
26,584,472 bytes on my macihne.
Diffstat (limited to 'iseq.h')
-rw-r--r-- | iseq.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -172,7 +172,6 @@ RUBY_SYMBOL_EXPORT_BEGIN /* compile.c */ VALUE rb_iseq_compile_node(rb_iseq_t *iseq, const NODE *node); VALUE rb_iseq_compile_callback(rb_iseq_t *iseq, const struct rb_iseq_new_with_callback_callback_func * ifunc); -int rb_iseq_translate_threaded_code(rb_iseq_t *iseq); VALUE *rb_iseq_original_iseq(const rb_iseq_t *iseq); void rb_iseq_build_from_ary(rb_iseq_t *iseq, VALUE misc, VALUE locals, VALUE args, @@ -303,7 +302,6 @@ enum defined_type { }; VALUE rb_iseq_defined_string(enum defined_type type); -void rb_iseq_make_compile_option(struct rb_compile_option_struct *option, VALUE opt); /* vm.c */ VALUE rb_iseq_local_variables(const rb_iseq_t *iseq); |