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 /compile.c | |
parent | 78e266da1dede1c81e634982e76a129c5720d80e (diff) | |
download | bundler-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 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -755,7 +755,7 @@ rb_iseq_compile_node(rb_iseq_t *iseq, const NODE *node) return iseq_setup(iseq, ret); } -int +static int rb_iseq_translate_threaded_code(rb_iseq_t *iseq) { #if OPT_DIRECT_THREADED_CODE || OPT_CALL_THREADED_CODE |