Class ExitableInterpreterEngine

java.lang.Object
org.jruby.ir.interpreter.InterpreterEngine
org.jruby.ir.interpreter.ExitableInterpreterEngine

public class ExitableInterpreterEngine extends InterpreterEngine
InterpreterEngine capable of exiting part way through execution up to a particular instruction. Continued execution will assign the result of that instruction which we pass in and continue executing from that point. The mechanism for this interpreter to work is a context object which contains the IPC, the result, and the temporary variables. Extra Notes: - We may need to make all natural split arities here if a JIT calls this directly. - I dislike replicating this code but we do not want our default interpreter to have an extra stack frame.