mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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.
This commit is contained in:
parent
78e266da1d
commit
0e8219f591
Notes:
git
2019-11-19 12:36:43 +09:00
16 changed files with 38 additions and 42 deletions
1
method.h
1
method.h
|
@ -202,7 +202,6 @@ const rb_method_entry_t *rb_method_entry_with_refinements(VALUE klass, ID id, VA
|
|||
const rb_method_entry_t *rb_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class);
|
||||
const rb_method_entry_t *rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me);
|
||||
RUBY_SYMBOL_EXPORT_BEGIN
|
||||
const rb_callable_method_entry_t *rb_resolve_refined_method_callable(VALUE refinements, const rb_callable_method_entry_t *me);
|
||||
const rb_method_entry_t *rb_resolve_me_location(const rb_method_entry_t *, VALUE[5]);
|
||||
RUBY_SYMBOL_EXPORT_END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue