mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Functions defined in headers should be static inline
This commit is contained in:
parent
311a66b7f5
commit
0433f5ae4d
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ THROW_DATA_CONSUMED_SET(struct vm_throw_data *obj)
|
|||
|
||||
/* If this returns true, an optimized function returned by `vm_call_iseq_setup_func`
|
||||
can be used as a fastpath. */
|
||||
static bool
|
||||
static inline bool
|
||||
vm_call_iseq_optimizable_p(const struct rb_callinfo *ci, const struct rb_callcache *cc)
|
||||
{
|
||||
return !IS_ARGS_SPLAT(ci) && !IS_ARGS_KEYWORD(ci) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue