public class FullInterpreterContext extends InterpreterContext
instructions, instructionsCallback, rescueIPCs, temporaryVariablecount
Constructor and Description |
---|
FullInterpreterContext(IRScope scope,
Instr[] instructions) |
Modifier and Type | Method and Description |
---|---|
boolean |
buildComplete()
have this interpretercontext fully built? This is slightly more complicated than this simple check, but it
should work.
|
void |
computeScopeFlagsFromInstructions() |
int |
determineRPC(int ipc) |
void |
generateInstructionsForInterpretation()
We plan on running this in full interpreted mode.
|
CFG |
getCFG() |
java.util.Map<java.lang.String,DataFlowProblem> |
getDataFlowProblems() |
java.util.List<CompilerPass> |
getExecutedPasses() |
BasicBlock[] |
getLinearizedBBList() |
boolean |
hasExplicitCallProtocol() |
BasicBlock[] |
linearizeBasicBlocks() |
boolean |
popDynScope() |
boolean |
pushNewDynScope() |
boolean |
reuseParentDynScope() |
java.lang.String |
toStringInstrs() |
allocateTemporaryBooleanVariables, allocateTemporaryFixnumVariables, allocateTemporaryFloatVariables, allocateTemporaryVariables, getEngine, getFileName, getFlags, getInstructions, getName, getRequiredArgsCount, getRescueIPCs, getScope, getStaticScope, newDynamicScope, receivesKeywordArguments, setEngine, toString
public boolean buildComplete()
buildComplete
in class InterpreterContext
public BasicBlock[] linearizeBasicBlocks()
public boolean hasExplicitCallProtocol()
hasExplicitCallProtocol
in class InterpreterContext
public boolean pushNewDynScope()
pushNewDynScope
in class InterpreterContext
public boolean popDynScope()
popDynScope
in class InterpreterContext
public boolean reuseParentDynScope()
reuseParentDynScope
in class InterpreterContext
public void generateInstructionsForInterpretation()
public CFG getCFG()
getCFG
in class InterpreterContext
public void computeScopeFlagsFromInstructions()
computeScopeFlagsFromInstructions
in class InterpreterContext
public java.util.Map<java.lang.String,DataFlowProblem> getDataFlowProblems()
public java.util.List<CompilerPass> getExecutedPasses()
public BasicBlock[] getLinearizedBBList()
public java.lang.String toStringInstrs()
toStringInstrs
in class InterpreterContext
public int determineRPC(int ipc)
Copyright © 2001-2018 JRuby. All Rights Reserved.