| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | IRModuleBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope, boolean executesOnce)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanupAfterExecution()
Overrides org. 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. |
| public boolean | |
| public int | getNearestModuleReferencingScopeDepth()
Overrides org. Returns the nearest scope which we can extract a live module from. |
| public IRScopeType | |
| public boolean |
| executesOnce | back to summary |
|---|---|
| private final boolean executesOnce | |
| IRModuleBody | back to summary |
|---|---|
| public IRModuleBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope, boolean executesOnce) | |
| cleanupAfterExecution | back to summary |
|---|---|
| public void cleanupAfterExecution() Overrides org. Doc from org. 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. Sub-classes will be the deciders of what is no longer needed. An example, to illustrate the complexity of cleanup: A class with no nested closures can remove any ICs created and can remove some other infomrational data structures like allocated variables unless closures do exist and then the ICs must stay for when closures JIT.
| |
| executesOnce | back to summary |
|---|---|
| public boolean executesOnce() Overrides org. | |
| getNearestModuleReferencingScopeDepth | back to summary |
|---|---|
| public int getNearestModuleReferencingScopeDepth() Overrides org. Doc from org. Returns the nearest scope which we can extract a live module from. If this returns null (like for evals), then it means it cannot be statically determined.
| |
| getScopeType | back to summary |
|---|---|
| public IRScopeType getScopeType() Implements abstract org.
| |
| isModuleBody | back to summary |
|---|---|
| public boolean isModuleBody() Overrides org. Doc from org. Does this scope represent a module body?
| |