public class NopEliminator extends BodyTransformer
| Constructor and Description |
|---|
NopEliminator(Singletons.Global g) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map options)
Removes
NopStmts from the passed body (which must be
a JimpleBody). |
static NopEliminator |
v() |
transform, transform, transformpublic NopEliminator(Singletons.Global g)
public static NopEliminator v()
protected void internalTransform(Body b, java.lang.String phaseName, java.util.Map options)
NopStmts from the passed body (which must be
a JimpleBody). Complexity is linear
with respect to the statements.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.Copyright © 2012-2019 RoboVM AB. All Rights Reserved.