Account for overlongjump tables in size of codeobject
This commit is contained in:
parent
4bd5988e31
commit
62822051a9
@ -84,6 +84,8 @@ KRK_Function(getsizeof) {
|
||||
mySize += sizeof(KrkValue) * self->keywordArgNames.capacity;
|
||||
/* Locals array */
|
||||
mySize += sizeof(KrkLocalEntry) * self->localNameCount;
|
||||
/* Overlong jumps */
|
||||
mySize += sizeof(KrkOverlongJump) * self->overlongJumpsCapacity;
|
||||
break;
|
||||
}
|
||||
case KRK_OBJ_NATIVE: {
|
||||
|
Loading…
Reference in New Issue
Block a user