TODO removed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user