Top Fields Constructors Methods
org.jruby.ir.interpreter

public Class ExitableInterpreterContext

extends InterpreterContext
Class Inheritance
Imports
java.util.Arrays, .EnumSet, .List, org.jruby.ir.IRFlags, .IRScope, org.jruby.ir.instructions.CallBase, .Instr, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, .ThreadContext, org.jruby.runtime.builtin.IRubyObject

Field Summary

Modifier and TypeField and Description
private static final ExitableInterpreterEngine
private final int
public static final ExitableInterpreterContext
private final CallBase
Inherited from org.jruby.ir.interpreter.InterpreterContext:
dynamicScopeEliminatedhasExplicitCallProtocolinstructionsinstructionsCallbackrescueIPCstemporaryVariableCount

Constructor Summary

AccessConstructor and Description
public
ExitableInterpreterContext(InterpreterContext originalIC, CallBase superCall, int exitIPC)

private
ExitableInterpreterContext(IRScope scope, List<Instr> instructions, int temporaryVariableCount, EnumSet<IRFlags> flags, CallBase superCall, int exitIPC)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject[]

Returns:

the live ruby values for the operand to the original super call.
getArgs
(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temps)

public ExitableInterpreterEngine
public ExitableInterpreterEngineState
public int
Inherited from org.jruby.ir.interpreter.InterpreterContext:
allocateTemporaryBooleanVariablesallocateTemporaryFixnumVariablesallocateTemporaryFloatVariablesallocateTemporaryVariablescomputeScopeFlagsFromInstructionsgetCFGgetFileNamegetFlagsgetInstructionsgetLinegetNamegetRequiredArgsCountgetRescueIPCsgetScopegetStaticScopegetTemporaryVariableCounthasExplicitCallProtocolinitializeisDynamicScopeEliminatedisENDisRuby2KeywordsnewDynamicScopepopDynScopepushNewDynScopereceivesKeywordArgumentsreuseParentDynScopesetDynamicScopeEliminatedsetExplicitCallProtocolsetReuseParentDynScopetoStringtoStringInstrs

Field Detail

EXITABLE_INTERPRETERback to summary
private static final ExitableInterpreterEngine EXITABLE_INTERPRETER
exitIPCback to summary
private final int exitIPC
NULLback to summary
public static final ExitableInterpreterContext NULL
superCallback to summary
private final CallBase superCall

Constructor Detail

ExitableInterpreterContextback to summary
public ExitableInterpreterContext(InterpreterContext originalIC, CallBase superCall, int exitIPC)
ExitableInterpreterContextback to summary
private ExitableInterpreterContext(IRScope scope, List<Instr> instructions, int temporaryVariableCount, EnumSet<IRFlags> flags, CallBase superCall, int exitIPC)

Method Detail

getArgsback to summary
public IRubyObject[] getArgs(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temps)
Returns:IRubyObject[]

the live ruby values for the operand to the original super call.

getEngineback to summary
public ExitableInterpreterEngine getEngine()

Overrides org.jruby.ir.interpreter.InterpreterContext.getEngine.

Annotations
@Override
getEngineStateback to summary
public ExitableInterpreterEngineState getEngineState()
getExitIPCback to summary
public int getExitIPC()