public class ClosureInterpreterContext extends InterpreterContext
dynamicScopeEliminated, hasExplicitCallProtocol, instructions, instructionsCallback, rescueIPCs, temporaryVariableCount
Constructor and Description |
---|
ClosureInterpreterContext(IRClosure scope,
java.util.List<Instr> instructions,
int temporaryVariableCount,
java.util.EnumSet<IRFlags> flags) |
ClosureInterpreterContext(IRClosure scope,
java.util.function.Supplier<java.util.List<Instr>> instructions,
int temporaryVariableCount,
java.util.EnumSet<IRFlags> flags) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
newDynamicScope(ThreadContext context)
Blocks have more complicated logic for pushing a dynamic scope (see InterpretedIRBlockBody).
|
allocateTemporaryBooleanVariables, allocateTemporaryFixnumVariables, allocateTemporaryFloatVariables, allocateTemporaryVariables, computeScopeFlagsFromInstructions, getCFG, getEngine, getFileName, getFlags, getInstructions, getName, getRequiredArgsCount, getRescueIPCs, getScope, getStaticScope, getTemporaryVariableCount, hasExplicitCallProtocol, initialize, isDynamicScopeEliminated, popDynScope, pushNewDynScope, receivesKeywordArguments, reuseParentDynScope, setDynamicScopeEliminated, setExplicitCallProtocol, setReuseParentDynScope, toString, toStringInstrs
public ClosureInterpreterContext(IRClosure scope, java.util.List<Instr> instructions, int temporaryVariableCount, java.util.EnumSet<IRFlags> flags)
public DynamicScope newDynamicScope(ThreadContext context)
newDynamicScope
in class InterpreterContext
Copyright © 2001-2021 JRuby. All Rights Reserved.