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