| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| public Compilable | |
| private int | |
| protected FullInterpreterContext | fullInterpreterContext
-X-C full interpretation OR JIT depends on this |
| private static final AtomicInteger | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private String | |
| protected InterpreterContext | interpreterContext
Startup interpretation depends on this |
| private final List | |
| private final IRScope | lexicalParent
Lexical parent scope |
| private final int | lineNumber
Starting line for this scope's definition |
| pack-priv Map | |
| public static final Logger | |
| private final IRManager | |
| private boolean | |
| private ByteList | name
Name |
| private boolean | |
| private List | nestedClosures
List of (nested) closures in this scope |
| protected int | |
| private int | nextLabelIndex
Keeps track of types of prefix indexes for variables and labels |
| private static final Collection | |
| protected FullInterpreterContext | optimizedInterpreterContext
Speculatively optimized code |
| private boolean | |
| private boolean | |
| private boolean | |
| private final int | scopeId
Unique global scope id |
| private final StaticScope | staticScope
Parser static-scope that this IR scope corresponds to |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IRScope(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope)
|
| public | IRScope(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope, int coverageMode)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| protected synchronized void | |
| public void | |
| public static EnumSet | |
| public InterpreterContext | allocateInterpreterContext(List<Instr> instructions, int tempVariableCount, EnumSet<IRFlags> flags)
Make version specific to scope which needs it (e.g. Closure vs non-closure). |
| public InterpreterContext | |
| public boolean | |
| public Map | |
| public InterpreterContext | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | captureParentRefinements(ThreadContext context)
Duplicate the parent scope's refinements overlay to get a moment-in-time snapshot. |
| public void | cleanupAfterExecution()
We are done with execution of this scope and we can cleanup some amount of things in this scope which will no longer be used. |
| private Instr[] | |
| public int | |
| public String | |
| protected void | |
| public IGVDumper | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public boolean | |
| protected LocalVariable | |
| public Object | |
| public ByteList | |
| public Collection | |
| public int | |
| public DynamicScope | |
| public Encoding | |
| public List | |
| public FullInterpreterContext | |
| public String | |
| public String | |
| public FullInterpreterContext | |
| public String | |
| public String | |
| public InterpreterContext | |
| public IRScope | |
| public synchronized List | |
| public int | |
| public int | |
| public LocalVariable | |
| public Map | |
| public IRManager | |
| public RubySymbol | |
| public IRMethod | |
| public int | getNearestModuleReferencingScopeDepth()
Returns the nearest scope which we can extract a live module from. |
| public IRScope | |
| public IRScope | |
| public Label | |
| public Label | |
| public LocalVariable | |
| public int | |
| public int | |
| public FullInterpreterContext | |
| public IRScope | |
| public int | |
| public abstract IRScopeType | |
| public Variable | |
| public StaticScope | |
| public boolean | hasBeenBuilt()
For lazy scopes which IRBuild on demand we can ask this method whether it has been built yet... |
| public boolean | |
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| private FullInterpreterContext | |
| public void | inlineMethod(IRMethod methodToInline, RubyModule metaclass, long callsiteId, int classToken, boolean cloneHost)
|
| private FullInterpreterContext | inlineMethodCommon(IRMethod methodToInline, RubyModule implClass, long callsiteId, int classToken, boolean cloneHost)
|
| public void | inlineMethodCompiled(IRMethod methodToInline, RubyModule implClass, long callsiteId, int classToken, boolean cloneHost)
|
| public void | inlineMethodJIT(IRMethod methodToInline, RubyModule implClass, long callsiteId, int classToken, boolean cloneHost)
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if this scope is contained by parentScope.we want to see if it contains this scope parentScope)returns whether this scope is contained by the parentScope parameter. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public LocalVariable | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public synchronized BasicBlock[] | prepareForCompilation()
Run any necessary passes to get the IR ready for compilation (AOT and/or JIT) |
| public synchronized FullInterpreterContext | prepareFullBuild()
This initializes a more complete(full) InterpreterContext which if used in mixed mode will be used by the JIT and if used in pure-interpreted mode it will be used by an interpreter engine. |
| public boolean | |
| public boolean | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public String | |
| public String | |
| public boolean | |
| public boolean | |
| public boolean |