public class DeadCodeElimination extends CompilerPass
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.Class<? extends CompilerPass>> |
DEPENDENCIES |
NO_DEPENDENCIES| Constructor and Description |
|---|
DeadCodeElimination() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(IRScope scope,
java.lang.Object... data)
Meat of an individual pass.
|
java.util.List<java.lang.Class<? extends CompilerPass>> |
getDependencies() |
java.lang.String |
getLabel()
What is the user-friendly name of this compiler pass
|
void |
invalidate(IRScope scope)
The data that this pass is responsible for will get invalidated so that
if this pass is then execute()d it will generate new pass data.
|
createPassInstance, createPassInstance, getPassesFromString, previouslyRun, run, runpublic static java.util.List<java.lang.Class<? extends CompilerPass>> DEPENDENCIES
public java.lang.String getLabel()
CompilerPassgetLabel in class CompilerPasspublic java.util.List<java.lang.Class<? extends CompilerPass>> getDependencies()
getDependencies in class CompilerPasspublic java.lang.Object execute(IRScope scope, java.lang.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 passpublic void invalidate(IRScope scope)
CompilerPassinvalidate in class CompilerPassscope - is where the pass stores its data.Copyright © 2002-2009 JRuby Team. All Rights Reserved.