mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Moved vm_empty_cc to local in vm.c [Bug #16934]
Missed to commit a staged change.
This commit is contained in:
parent
8b22fd27f1
commit
a9e0046c26
1 changed files with 1 additions and 14 deletions
|
@ -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);
|
extern const struct rb_callcache *rb_vm_empty_cc(void);
|
||||||
#endif
|
#define vm_cc_empty() rb_vm_empty_cc()
|
||||||
|
|
||||||
static inline const struct rb_callcache *
|
|
||||||
vm_cc_empty(void)
|
|
||||||
{
|
|
||||||
#ifndef MJIT_HEADER
|
|
||||||
return vm_empty_cc;
|
|
||||||
#else
|
|
||||||
return rb_vm_empty_cc();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/* callcache: mutete */
|
/* callcache: mutete */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue