summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm_callinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h
index 4f3518c066..fa35c98d17 100644
--- a/vm_callinfo.h
+++ b/vm_callinfo.h
@@ -332,6 +332,7 @@ static inline vm_call_handler
vm_cc_call(const struct rb_callcache *cc)
{
VM_ASSERT(IMEMO_TYPE_P(cc, imemo_callcache));
+ VM_ASSERT(cc->call_ != NULL);
return cc->call_;
}