| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | execute(FullInterpreterContext
is the FullInterpreterContext to run this pass on fic, Object... is the data supplied to this pass to use to execute the pass data)Implements abstract org. Meat of an individual pass. |
| public String | getLabel()
Implements abstract org. What is the user-friendly name of this compiler pass |
| public String | |
| public boolean | invalidate(FullInterpreterContext
is where the pass stores its data. fic)Overrides org. The data that this pass is responsible for will get invalidated so that if this pass is then executed it will generate new pass data. |
| private static void | |
| private static boolean |
| OptimizeDelegationPass | back to summary |
|---|---|
| public OptimizeDelegationPass() | |
| execute | back to summary |
|---|---|
| public Object execute(FullInterpreterContext fic, Object... data) Implements abstract org. Doc from org. Meat of an individual pass. run will call this after dependency resolution.
| |
| getLabel | back to summary |
|---|---|
| public String getLabel() Implements abstract org. Doc from org. What is the user-friendly name of this compiler pass
| |
| getShortLabel | back to summary |
|---|---|
| public String getShortLabel() Overrides org. Doc from org. Shorter label
| |
| invalidate | back to summary |
|---|---|
| public boolean invalidate(FullInterpreterContext fic) Overrides org. Doc from org. The data that this pass is responsible for will get invalidated so that if this pass is then executed it will generate new pass data. Note that some data will destructively manipulate dependent compiler pass data. In that case, the pass may wipe more than just it's data. In that case, an execute() should still rebuild everything fine because all compiler passes list their dependencies.
| |
| optimizeDelegatedVars | back to summary |
|---|---|
| private static void optimizeDelegatedVars(FullInterpreterContext fic) | |
| usesVariableAsNonClosureArg | back to summary |
|---|---|
| private static boolean usesVariableAsNonClosureArg(Instr i, Variable v) | |