public class DirCallInst extends CallInst
Constructor and Description |
---|
DirCallInst(java.lang.String targLabel,
java.lang.String destVar,
int numParams)
DirCallInst constructor
|
Modifier and Type | Method and Description |
---|---|
<ReturnType,ArgumentType> |
accept(TACInstVisitor<ReturnType,ArgumentType> visitor,
ArgumentType o)
Abstract visitor method.
|
void |
setTarget(java.lang.String target)
Set the target of the call
|
equals, getDestVar, getNumParam, getString, getTarget, setDestVar, setNumParam
addComment, checkBoolConst, checkConst, checkIntConst, checkLabel, checkStrConst, checkVar, getBinaryOpcode, getComments, getOp, getOpcode, getUnaryOpcode, isBinary, isCall, isIf, isLoad, isParam, isPhi, isReturn, isStore, isUnary, isValidID, removeComments, toString
public DirCallInst(java.lang.String targLabel, java.lang.String destVar, int numParams)
targLabel
- target label to jump todestVar
- (Optional) destination variable to assign result of call
(null if none)numParams
- number of parameters (both ref. and standard but not
error)public void setTarget(java.lang.String target)
public <ReturnType,ArgumentType> ReturnType accept(TACInstVisitor<ReturnType,ArgumentType> visitor, ArgumentType o)
TACInst