public class LocalOptimizationPass extends CompilerPass
Modifier and Type | Field and Description |
---|---|
static List<Class<? extends CompilerPass>> |
DEPENDENCIES |
NO_DEPENDENCIES
Constructor and Description |
---|
LocalOptimizationPass() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(IRScope s,
Object... data)
Meat of an individual pass.
|
List<Class<? extends CompilerPass>> |
getDependencies() |
String |
getLabel()
What is the user-friendly name of this compiler pass
|
static void |
runLocalOptsOnInstrList(IRScope s,
ListIterator<Instr> instrs,
boolean preCFG) |
createPassInstance, createPassInstance, equals, getPassesFromString, hashCode, invalidate, previouslyRun, run, run, run
public static List<Class<? extends CompilerPass>> DEPENDENCIES
public String getLabel()
CompilerPass
getLabel
in class CompilerPass
public List<Class<? extends CompilerPass>> getDependencies()
getDependencies
in class CompilerPass
public Object execute(IRScope s, Object... data)
CompilerPass
execute
in class CompilerPass
s
- is the scope to run this pass ondata
- is the data supplied to this pass to use to execute the passpublic static void runLocalOptsOnInstrList(IRScope s, ListIterator<Instr> instrs, boolean preCFG)
Copyright © 2001-2015 JRuby. All Rights Reserved.