mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
hide vm_ep_in_heap_p_
`make leaked-globals` points out that this function is leaked. This has not been detected in our CI because it is defined only when VM_CHECK_MODE is nonzero. Just make it static and everytihng goes well.
This commit is contained in:
parent
c7e6dbd5ab
commit
8920e2040a
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -156,7 +156,7 @@ VM_EP_IN_HEAP_P(const rb_execution_context_t *ec, const VALUE *ep)
|
|||
}
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
vm_ep_in_heap_p_(const rb_execution_context_t *ec, const VALUE *ep)
|
||||
{
|
||||
if (VM_EP_IN_HEAP_P(ec, ep)) {
|
||||
|
|
Loading…
Reference in a new issue