We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640a2f1 commit fccd96cCopy full SHA for fccd96c
vm_callinfo.h
@@ -418,6 +418,8 @@ static inline const struct rb_callable_method_entry_struct *
418
vm_cc_cme(const struct rb_callcache *cc)
419
{
420
VM_ASSERT(IMEMO_TYPE_P(cc, imemo_callcache));
421
+ VM_ASSERT(cc->klass != Qundef || !vm_cc_markable(cc));
422
+ VM_ASSERT(cc_check_class(cc->klass));
423
VM_ASSERT(cc->call_ == NULL || // not initialized yet
424
!vm_cc_markable(cc) ||
425
cc->cme_ != NULL);
@@ -430,6 +432,8 @@ vm_cc_call(const struct rb_callcache *cc)
430
432
431
433
434
VM_ASSERT(cc->call_ != NULL);
435
436
437
return cc->call_;
438
}
439
0 commit comments