edu.toronto.cs.yasm.pprogram
Class FunctionCallPStmt
java.lang.Object
edu.toronto.cs.yasm.pprogram.PStmt
edu.toronto.cs.yasm.pprogram.FunctionCallPStmt
public class FunctionCallPStmt
- extends PStmt
Methods inherited from class edu.toronto.cs.yasm.pprogram.PStmt |
exprFac, getDest, getId, getLabel, getLast, getNext, getParent, getPProgram, getRefinerInfo, getSourceBlock, getSourceExpr, print, print, printMe, setDest, setId, setLabel, setNext, setParent, setRefinerInfo, setSourceBlock, setTail, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FunctionCallPStmt
public FunctionCallPStmt(PFunctionDef parent,
Block sourceBlock)
FunctionCallPStmt
public FunctionCallPStmt(PFunctionDef parent,
Expr sourceExpr)
FunctionCallPStmt
public FunctionCallPStmt(PFunctionDef parent,
Expr callExpr,
Expr _returnVarExpr)
getFunctionName
public java.lang.String getFunctionName()
getResultVarName
public java.lang.String getResultVarName()
getReturnVar
public Expr getReturnVar()
getArgumentsBlock
public Block getArgumentsBlock()
getArgumentsExpr
public Expr getArgumentsExpr()
getFullArgumentsExpr
public Expr getFullArgumentsExpr()
- Returns a CILListOp.LIST Expr beginning with the return index value,
followed by the argument values.
- Returns:
getCallIndex
public int getCallIndex()
setLogues
public void setLogues(PStmt _logues)
getLogues
public PStmt getLogues()
setFunctionDef
public void setFunctionDef(PFunctionDef v)
getFunctionDef
public PFunctionDef getFunctionDef()
printMe
public void printMe(java.io.PrintWriter out)
- Overrides:
printMe
in class PStmt
getLineNum
public int getLineNum()
- Description copied from class:
PStmt
- Returns line number of this statement, or -1 if the line number is
unknown.
- Overrides:
getLineNum
in class PStmt
- Returns:
- an
int
value