2 ms·
But this OP_INHERIT instruction isn't for calling methods; it's just for setting up the inheritance relationship.
by kazinator 7y ago
But this OP_INHERIT instruction isn't for calling methods; it's just for setting up the inheritance relationship.
- _old_dude_ 7y agoThe opcode OP_INHERIT takes two classes as parameter on the stack so this is equivalent to do a function/method calls with the class and the super class and let the function do the magic of filling the vtable, etc.