soot.jimple.toolkits.scalar
Class NopEliminator
java.lang.Object
soot.Transformer
soot.BodyTransformer
soot.jimple.toolkits.scalar.NopEliminator
public class NopEliminator
- extends BodyTransformer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NopEliminator
public NopEliminator(Singletons.Global g)
v
public static NopEliminator v()
internalTransform
protected void internalTransform(Body b,
String phaseName,
Map options)
- Removes
NopStmt
s from the passed body (which must be
a JimpleBody
). Complexity is linear
with respect to the statements.
- Specified by:
internalTransform
in class BodyTransformer
- Parameters:
b
- 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.