diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-04 17:13:56 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-04 17:13:56 +0900 |
commit | a9e0046c26797343322a7211586f0acedfb7492e (patch) | |
tree | 19cecd753fce289cab96ad14e16a1f5add60180a /vm_callinfo.h | |
parent | 8b22fd27f181ea1902bbb584b41488e307121587 (diff) |
Moved vm_empty_cc to local in vm.c [Bug #16934]
Missed to commit a staged change.
Diffstat (limited to 'vm_callinfo.h')
-rw-r--r-- | vm_callinfo.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h index 8b575f11c6..e938092926 100644 --- a/vm_callinfo.h +++ b/vm_callinfo.h @@ -342,21 +342,8 @@ vm_cc_valid_p(const struct rb_callcache *cc, const rb_callable_method_entry_t *c } } -#ifndef MJIT_HEADER -extern const struct rb_callcache *vm_empty_cc; -#else extern const struct rb_callcache *rb_vm_empty_cc(void); -#endif - -static inline const struct rb_callcache * -vm_cc_empty(void) -{ -#ifndef MJIT_HEADER - return vm_empty_cc; -#else - return rb_vm_empty_cc(); -#endif -} +#define vm_cc_empty() rb_vm_empty_cc() /* callcache: mutete */ |