public class DeadAssignmentEliminator extends BodyTransformer
| Constructor and Description |
|---|
DeadAssignmentEliminator(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> options)
Eliminates dead code in a linear fashion.
|
static DeadAssignmentEliminator |
v() |
transform, transform, transformpublic static DeadAssignmentEliminator v()
protected void internalTransform(Body b, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.String> options)
internalTransform in class BodyTransformerb - the body on which to apply the transformationphaseName - the phasename for this transform; not typically used by implementations.options - the actual computed options; a combination of default options and Scene specified options.