public class LocalExpr extends VarExpr implements LeafExpr
| Constructor and Description |
|---|
LocalExpr(int index,
boolean fromStack,
Type type)
Constructor.
|
LocalExpr(int index,
Type type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equalsExpr(Expr other)
Compares this expression to another.
|
int |
exprHashCode()
Returns the hash code for this expresion.
|
boolean |
fromStack() |
boolean |
isReturnAddress()
Returns true if the type of this expression is a return address.
|
void |
visit(TreeVisitor visitor) |
void |
visitForceChildren(TreeVisitor visitor)
Visit the children of this node.
|
addUse, cleanupOnly, hasUse, isDef, removeUse, uses, versioncomparator, copyInto, setDef, setType, stmt, typeblock, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnlypublic LocalExpr(int index,
boolean fromStack,
Type type)
index - Index into the local variable table for this expression.fromStack - Is the local allocated on the stack?type - The type of this expressionpublic LocalExpr(int index,
Type type)
index - Index into the local variable table for this expression.type - The type of this expression.public boolean fromStack()
public boolean isReturnAddress()
public void visitForceChildren(TreeVisitor visitor)
NodevisitForceChildren in class Nodepublic void visit(TreeVisitor visitor)
public boolean equalsExpr(Expr other)
ExprequalsExpr in class Exprother - The other expression to compare against.public int exprHashCode()
ExprexprHashCode in class Expr