This PR makes the base opcode class abstract, and requires that all subclasses of Opcode implement the methods that it requires. My goal for opcodes is to reduce the amount of repeated code.
Right after I made this change I found three cases where classes were incomplete, so it's already proved to be useful.
This PR makes the base opcode class abstract, and requires that all subclasses of
Opcode
implement the methods that it requires. My goal for opcodes is to reduce the amount of repeated code.Right after I made this change I found three cases where classes were incomplete, so it's already proved to be useful.