public class FullInterpreterContext extends InterpreterContext
engine, instructions, 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() |
void |
generateInstructionsForIntepretation()
We plan on running this in full interpreted mode.
|
CFG |
getCFG() |
Map<String,DataFlowProblem> |
getDataFlowProblems() |
List<CompilerPass> |
getExecutedPasses() |
BasicBlock[] |
getLinearizedBBList() |
boolean |
hasExplicitCallProtocol() |
BasicBlock[] |
linearizeBasicBlocks() |
boolean |
popDynScope() |
boolean |
pushNewDynScope() |
boolean |
reuseParentDynScope() |
String |
toStringInstrs() |
allocateTemporaryBooleanVariables, allocateTemporaryFixnumVariables, allocateTemporaryFloatVariables, allocateTemporaryVariables, getFileName, getInstructions, getName, getRequiredArgsCount, getScope, getStaticScope, newDynamicScope, receivesKeywordArguments, 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 generateInstructionsForIntepretation()
public CFG getCFG()
getCFG
in class InterpreterContext
public void computeScopeFlagsFromInstructions()
computeScopeFlagsFromInstructions
in class InterpreterContext
public Map<String,DataFlowProblem> getDataFlowProblems()
public List<CompilerPass> getExecutedPasses()
public BasicBlock[] getLinearizedBBList()
public String toStringInstrs()
toStringInstrs
in class InterpreterContext
Copyright © 2001-2015 JRuby. All Rights Reserved.