sandmark.obfuscate.boolsplitter.dtree
Class SCStmt
java.lang.Object
|
+--sandmark.obfuscate.boolsplitter.dtree.Node
|
+--sandmark.obfuscate.boolsplitter.dtree.Stmt
|
+--sandmark.obfuscate.boolsplitter.dtree.SCStmt
- public class SCStmt
- extends Stmt
SCStmt represents a swizzle check on an element in an array.
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Stmt |
cleanupOnly |
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
array
Expr array
index
Expr index
redundant
boolean redundant
SCStmt
public SCStmt(Expr a,
Expr i)
- Constructor.
- Parameters:
a
- The array on which to place the swizzle check.i
- The element in array a to swizzle.
array
public Expr array()
index
public Expr index()
redundant
public boolean redundant()
- Returns:
- True, if the swizzle check is redundent.
set_redundant
public void set_redundant(boolean val)
visit
public void visit(TreeVisitor visitor)
- Specified by:
visit
in class Node
clone
public java.lang.Object clone()
- Specified by:
clone
in class Stmt
visitForceChildren
public void visitForceChildren(TreeVisitor visitor)
- Description copied from class:
Node
- Visit the children of this node. Not all Nodes will have children to
visit.
- Specified by:
visitForceChildren
in class Node