Package EDU.purdue.cs.bloat.tree
Class VarExpr
- java.lang.Object
-
- EDU.purdue.cs.bloat.tree.Node
-
- EDU.purdue.cs.bloat.tree.Expr
-
- EDU.purdue.cs.bloat.tree.DefExpr
-
- EDU.purdue.cs.bloat.tree.MemExpr
-
- EDU.purdue.cs.bloat.tree.VarExpr
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefExprdef()Returns the expression that defines this expression.intindex()voidsetIndex(int index)-
Methods inherited from class EDU.purdue.cs.bloat.tree.DefExpr
addUse, cleanupOnly, hasUse, isDef, removeUse, uses, version
-
Methods inherited from class EDU.purdue.cs.bloat.tree.Expr
clone, comparator, copyInto, equalsExpr, exprHashCode, setDef, setType, stmt, type
-
Methods inherited from class EDU.purdue.cs.bloat.tree.Node
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnly
-
-
-
-
Constructor Detail
-
VarExpr
public VarExpr(int index, Type type)Constructor.- Parameters:
index- Index giving location of expression. For instance, the number local variable represented or the position of the stack variable represented.type- Type (descriptor) of this expression.
-
-