1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Inline function should be static

This commit is contained in:
Nobuyoshi Nakada 2019-11-12 00:07:26 +09:00
parent 2de3feab44
commit dd0217a869
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -46,7 +46,7 @@ static inline void rb_builtin_function_check_arity15(VALUE (*f)(rb_execution_con
VALUE rb_vm_lvar_exposed(rb_execution_context_t *ec, int index);
// inline
inline VALUE
static inline VALUE
rb_vm_lvar(rb_execution_context_t *ec, int index)
{
#if VM_CORE_H_EC_DEFINED