public class DeadCodeElimination extends CompilerPass
| Modifier and Type | Field and Description |
|---|---|
static List<Class<? extends CompilerPass>> |
DEPENDENCIES |
NO_DEPENDENCIES| Constructor and Description |
|---|
DeadCodeElimination() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(IRScope scope,
Object... data)
Meat of an individual pass.
|
List<Class<? extends CompilerPass>> |
getDependencies() |
String |
getLabel()
What is the user-friendly name of this compiler pass
|
createPassInstance, createPassInstance, equals, getPassesFromString, hashCode, invalidate, previouslyRun, run, run, runpublic static List<Class<? extends CompilerPass>> DEPENDENCIES
public String getLabel()
CompilerPassgetLabel in class CompilerPasspublic List<Class<? extends CompilerPass>> getDependencies()
getDependencies in class CompilerPasspublic Object execute(IRScope scope, Object... data)
CompilerPassexecute in class CompilerPassscope - is the scope to run this pass ondata - is the data supplied to this pass to use to execute the passCopyright © 2001-2016 JRuby. All Rights Reserved.