aboutsummaryrefslogtreecommitdiffstats
path: root/vm_callinfo.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-04-08 13:28:13 +0900
committerGitHub <noreply@github.com>2020-04-08 13:28:13 +0900
commit9e6e39c3512f7a962c44dc3729c98a0f8be90341 (patch)
tree901a22676d54d78240e450b64a8cd06eb1703910 /vm_callinfo.h
parent5ac4bf2cd87e1eb5779ca5ae7f96a1a22e8436d9 (diff)
downloadruby-9e6e39c3512f7a962c44dc3729c98a0f8be90341.tar.gz
Merge pull request #2991 from shyouhei/ruby.h
Split ruby.h
Diffstat (limited to 'vm_callinfo.h')
-rw-r--r--vm_callinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h
index f99f808a83..013811d15e 100644
--- a/vm_callinfo.h
+++ b/vm_callinfo.h
@@ -315,7 +315,7 @@ static inline int
vm_cc_markable(const struct rb_callcache *cc)
{
VM_ASSERT(IMEMO_TYPE_P(cc, imemo_callcache));
- return FL_TEST_RAW(cc, VM_CALLCACHE_UNMARKABLE) == 0;
+ return FL_TEST_RAW((VALUE)cc, VM_CALLCACHE_UNMARKABLE) == 0;
}
// For MJIT. cc_cme is supposed to have inlined `vm_cc_cme(cc)`.