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:
  • Constructor Details

    • AddressStoreStmt

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

    • sub

      public Subroutine sub()
    • 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
    • visit

      public void visit(TreeVisitor visitor)
      Specified by:
      visit in class Node
    • clone

      public Object clone()
      Specified by:
      clone in class Stmt