public class OptimizeDynScopesPass extends CompilerPass
Constructor and Description |
---|
OptimizeDynScopesPass() |
Modifier and Type | Method and Description |
---|---|
void |
eliminateLocalVars(FullInterpreterContext fic) |
java.lang.Object |
execute(FullInterpreterContext fic,
java.lang.Object... data)
Meat of an individual pass.
|
java.lang.String |
getLabel()
What is the user-friendly name of this compiler pass
|
java.lang.String |
getShortLabel()
Shorter label
|
boolean |
invalidate(FullInterpreterContext fic)
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.
|
createPassInstance, createPassInstance, equals, getDependencies, getPassesFromString, hashCode, previouslyRun, run, run, run
public java.lang.String getLabel()
CompilerPass
getLabel
in class CompilerPass
public java.lang.String getShortLabel()
CompilerPass
getShortLabel
in class CompilerPass
public void eliminateLocalVars(FullInterpreterContext fic)
public java.lang.Object execute(FullInterpreterContext fic, java.lang.Object... data)
CompilerPass
execute
in class CompilerPass
fic
- is the FullInterpreterContext to run this pass ondata
- is the data supplied to this pass to use to execute the passpublic boolean invalidate(FullInterpreterContext fic)
CompilerPass
invalidate
in class CompilerPass
fic
- is where the pass stores its data.Copyright © 2001-2022 JRuby. All Rights Reserved.