public class InterpreterContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Instr[] |
instructions |
java.util.concurrent.Callable<java.util.List<Instr>> |
instructionsCallback |
protected int |
temporaryVariablecount |
Constructor and Description |
---|
InterpreterContext(IRScope scope,
java.util.concurrent.Callable<java.util.List<Instr>> instructions) |
InterpreterContext(IRScope scope,
java.util.List<Instr> instructions) |
protected int temporaryVariablecount
protected Instr[] instructions
public java.util.concurrent.Callable<java.util.List<Instr>> instructionsCallback
public InterpreterEngine getEngine()
public int getRequiredArgsCount()
public IRScope getScope()
public boolean buildComplete()
public CFG getCFG()
public java.lang.Object[] allocateTemporaryVariables()
public boolean[] allocateTemporaryBooleanVariables()
public long[] allocateTemporaryFixnumVariables()
public double[] allocateTemporaryFloatVariables()
public StaticScope getStaticScope()
public java.lang.String getFileName()
public java.lang.String getName()
public Instr[] getInstructions()
public void computeScopeFlagsFromInstructions()
public DynamicScope newDynamicScope(ThreadContext context)
public boolean hasExplicitCallProtocol()
public boolean pushNewDynScope()
public boolean reuseParentDynScope()
public boolean popDynScope()
public boolean receivesKeywordArguments()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringInstrs()
public void setEngine(InterpreterEngine engine)
public java.util.EnumSet<IRFlags> getFlags()
Copyright © 2001-2017 JRuby. All Rights Reserved.