TODO removed

This commit is contained in:
Andrey Breslav
2013-10-07 01:45:51 +04:00
parent 00fd00e09b
commit 2e8ae6b7db
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -359,7 +359,6 @@ class SingleInstructionInterpreter(private val eval: Eval) : Interpreter<Value>(
override fun returnOperation(insn: AbstractInsnNode, value: Value, expected: Value) {
when (insn.getOpcode()) {
IRETURN, LRETURN, FRETURN, DRETURN, ARETURN -> {
// TODO: coercion, maybe?
// Handled by interpreter loop
}
@@ -168,7 +168,6 @@ fun interpreterLoop(
frame.execute(currentInsn, interpreter)
}
catch (e: ThrownFromEvalException) {
// TODO: try/catch.finaly
val handled = handler.exceptionThrown(frame, currentInsn, e.exception)
if (handled != null) return handled
if (exceptionCaught(e.exception)) continue