public class UnreachableCodeEliminator extends BodyTransformer
Modifier and Type | Field and Description |
---|---|
protected ThrowAnalysis |
throwAnalysis |
Constructor and Description |
---|
UnreachableCodeEliminator(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
protected void |
internalTransform(Body body,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> options)
This method is called to perform the transformation itself.
|
static UnreachableCodeEliminator |
v() |
transform, transform, transform
protected ThrowAnalysis throwAnalysis
public static UnreachableCodeEliminator v()
protected void internalTransform(Body body, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.String> options)
BodyTransformer
internalTransform
in class BodyTransformer
body
- 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.