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:
Bob Nystrom
2013-12-23 19:37:47 +00:00
parent 64fdc1876a
commit 0067070804
5 changed files with 8 additions and 40 deletions
-3
View File
@@ -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.