|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcfg.TACInst
cfg.LoadInst
cfg.LoadAddrInst
public class LoadAddrInst
A class representing a three-address code load address instruction (LoadAddrInst). A load address instruction consists of a destination variable and a source address (as a String label), which are both inherited from LoadInst. From TACInst it also inherits an opcode (LDADDR).
| Field Summary |
|---|
| Fields inherited from class cfg.LoadInst |
|---|
destination, 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 | |
|---|---|
LoadAddrInst(java.lang.String destination,
java.lang.String source)
LoadAddrInst constructor |
|
| Method Summary | |
|---|---|
void |
setSource(java.lang.String source)
Set the source operand |
| Methods inherited from class cfg.LoadInst |
|---|
equals, getDestination, getSource, getString, setDestination |
| 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 |
|---|
public LoadAddrInst(java.lang.String destination,
java.lang.String source)
destination - destination variablesource - source address (as a String label)| Method Detail |
|---|
public void setSource(java.lang.String source)
setSource in class LoadInstsource - new source operand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||