public class InterpreterContext extends Object
| Modifier and Type | Field and Description | 
|---|---|
| InterpreterEngine | engine | 
| protected Instr[] | instructions | 
| protected int | temporaryVariablecount | 
| Constructor and Description | 
|---|
| InterpreterContext(IRScope scope,
                  List<Instr> instructions) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean[] | allocateTemporaryBooleanVariables() | 
| long[] | allocateTemporaryFixnumVariables() | 
| double[] | allocateTemporaryFloatVariables() | 
| Object[] | allocateTemporaryVariables() | 
| boolean | buildComplete()Is the build complete?  For startup builds, which this class represents, we finish build in the constructor
 so it is always complete. | 
| void | computeScopeFlagsFromInstructions() | 
| CFG | getCFG() | 
| String | getFileName() | 
| Instr[] | getInstructions() | 
| String | getName() | 
| int | getRequiredArgsCount() | 
| IRScope | getScope() | 
| StaticScope | getStaticScope() | 
| boolean | hasExplicitCallProtocol() | 
| DynamicScope | newDynamicScope(ThreadContext context)Get a new dynamic scope. | 
| boolean | popDynScope() | 
| boolean | pushNewDynScope() | 
| boolean | receivesKeywordArguments() | 
| boolean | reuseParentDynScope() | 
| String | toString() | 
| String | toStringInstrs() | 
protected int temporaryVariablecount
protected Instr[] instructions
public final InterpreterEngine engine
public int getRequiredArgsCount()
public IRScope getScope()
public boolean buildComplete()
public CFG getCFG()
public Object[] allocateTemporaryVariables()
public boolean[] allocateTemporaryBooleanVariables()
public long[] allocateTemporaryFixnumVariables()
public double[] allocateTemporaryFloatVariables()
public StaticScope getStaticScope()
public String getFileName()
public 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 String toStringInstrs()
Copyright © 2001-2015 JRuby. All Rights Reserved.