Class AddressStoreStmt


  • public class AddressStoreStmt
    extends Stmt
    Associated with an AddressStoreStmt is a Subroutine whose address (offset in the instruction sequence) is to be stored. Addresses may be loaded (using astore), but cannot be reloaded. Therefore, AddressStoreStmt is needed to differentiate between a regular (object reference) astore which is modeled by a LocalExpr.
    See Also:
    Tree.visit_astore(EDU.purdue.cs.bloat.editor.Instruction), Subroutine, LocalExpr
    • Constructor Detail

      • AddressStoreStmt

        public AddressStoreStmt​(Subroutine sub)
        Constructor.
        Parameters:
        sub -
    • Method Detail

      • 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
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class Stmt