| |
|
| java.lang.Object EDU.purdue.cs.bloat.tree.Node EDU.purdue.cs.bloat.tree.Stmt EDU.purdue.cs.bloat.tree.PhiStmt EDU.purdue.cs.bloat.tree.PhiCatchStmt
PhiCatchStmt | public class PhiCatchStmt extends PhiStmt (Code) | | A PhiCatchStmt is used to handle variables that are used inside an exception
handler. Inside a try block a variable may be used several times. It may be
updated, may be invovled in a phi-function, etc. A PhiCatchStmt is placed at
the beginning of each expection handling (catch) block to factor together the
variables that are live within the protected region.
|
PhiCatchStmt | public PhiCatchStmt(LocalExpr target)(Code) | | Constructor.
Parameters: target - Local variable to which the result of this phi-function is tobe assigned. |
addOperand | public void addOperand(LocalExpr operand)(Code) | | Add a local variable to the operand list for this phi-function.
Parameters: operand - An operand of this phi-function. |
hasOperandDef | public boolean hasOperandDef(LocalExpr def)(Code) | | Searches the list of operands for a local variable.
Parameters: def - The local variable definition to search for. True, if def is found, otherwise, false. |
numOperands | public int numOperands()(Code) | | Returns the number of operands to this phi-function.
|
operandAt | public Expr operandAt(int i)(Code) | | Returns the operand at a given index.
|
operands | public Collection operands()(Code) | | Returns the operands to this phi-function.
|
setOperandAt | public void setOperandAt(int i, Expr expr)(Code) | | Sets the value of one of this phi-function's operands.
Parameters: i - The number parameter to set. Parameters: expr - The new value of the parameter. |
|
|
|