Class GotoStmt
java.lang.Object
EDU.purdue.cs.bloat.tree.Node
EDU.purdue.cs.bloat.tree.Stmt
EDU.purdue.cs.bloat.tree.JumpStmt
EDU.purdue.cs.bloat.tree.GotoStmt
Represents an unconditional branch to a basic block.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidtarget()voidvisit(TreeVisitor visitor) voidvisitForceChildren(TreeVisitor visitor) Visit the children of this node.Methods inherited from class JumpStmt
catchTargets, copyIntoMethods inherited from class Stmt
cleanupOnlyMethods inherited from class Node
block, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly
-
Constructor Details
-
GotoStmt
Constructor.- Parameters:
target- The basic Block that is the target of this goto statement.
-
-
Method Details
-
setTarget
-
target
-
visitForceChildren
Description copied from class:NodeVisit the children of this node. Not all Nodes will have children to visit.- Specified by:
visitForceChildrenin classNode
-
visit
-
clone
-