refactor: remove unused CODE_DUP instruction and clean up interpreter dispatch
Remove the CODE_DUP opcode from the compiler, debug printer, VM dispatch table, and enum definition. Also simplify several case blocks in the computed-goto interpreter by removing unnecessary braces and consolidating local variable declarations, and add a critical ordering comment to the dispatch table.
This commit is contained in:
@@ -15,9 +15,6 @@ class Derived is Base {
|
||||
// expect: Derived.bar
|
||||
// expect: Base.foo
|
||||
|
||||
// TODO: Super constructor calls.
|
||||
// TODO: Super operator calls.
|
||||
// TODO: Calling super outside of a class.
|
||||
// TODO: Super calls inside nested functions in methods.
|
||||
// TODO: Super where there is no inherited method.
|
||||
// TODO: Super setter calls.
|
||||
|
||||
Reference in New Issue
Block a user