cfg
Class RefParamInst

java.lang.Object
  extended by cfg.TACInst
      extended by cfg.ParamInst
          extended by cfg.RefParamInst

public class RefParamInst
extends ParamInst

A class representing a three-address code reference parameter instruction (RefParamInst). A reference parameter instruction consists of a source value representing the reference (implicit) parameter expression (inherited from ParamInst). From TACInst it also inherits an opcode (REFPARAM).


Field Summary
 
Fields inherited from class cfg.ParamInst
paramType, source
 
Fields inherited from class cfg.TACInst
BINADD, BINAND, BINDIV, BINMOD, BINMUL, BINOR, BINSUB, comments, DIRCALL, ERRPARAM, IF, INDIRCALL, LDADDR, LDCONST, LDENTRY, LDVAR, NUM_INSN_TYPES, opcode, REFPARAM, RETN, STDPARAM, STENTRY, UNNEG, UNNOT
 
Constructor Summary
RefParamInst(java.lang.String source)
          RefParamInst constructor
 
Method Summary
 
Methods inherited from class cfg.ParamInst
equals, getParamType, getSource, getString, setSource
 
Methods inherited from class cfg.TACInst
addComment, checkBoolConst, checkConst, checkIntConst, checkLabel, checkStrConst, checkVar, getBinaryOpcode, getComments, getOp, getOpcode, getUnaryOpcode, isBinary, isCall, isIf, isLoad, isParam, isReturn, isStore, isUnary, isValidID, removeComments, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RefParamInst

public RefParamInst(java.lang.String source)
RefParamInst constructor

Parameters:
source - source operand holding value of the reference (implicit) parameter expression