|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.backend.QOperator
This class represents the origin of a quadruple
| Field Summary | |
private QOrigin[] |
operands
|
private InstructionHandle |
operator
|
| Constructor Summary | |
QOperator(InstructionHandle operator,
QOrigin[] operands)
|
|
| Method Summary | |
QOrigin |
duplicate()
Duplicate this node |
void |
generate(CodeSequence seq)
Generates instructions for this quadruple |
InstructionHandle |
getInstruction()
Returns the primitive instruction |
QOrigin[] |
getOrigins()
returns the parameters of this instruction |
int |
getType()
The type of this instruction |
QTemporary[] |
getUses()
Returns the used temporaries. |
void |
setOrigin(QOrigin origin,
int i)
Sets the parameters of this instruction |
String |
toString()
Human readable form |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private InstructionHandle operator
private QOrigin[] operands
| Constructor Detail |
public QOperator(InstructionHandle operator,
QOrigin[] operands)
| Method Detail |
public String toString()
toString in class Objectpublic int getType()
getType in interface QOriginpublic InstructionHandle getInstruction()
getInstruction in interface QOriginpublic QOrigin duplicate()
duplicate in interface QOriginpublic QTemporary[] getUses()
getUses in interface QOriginpublic QOrigin[] getOrigins()
getOrigins in interface QOrigin
public void setOrigin(QOrigin origin,
int i)
setOrigin in interface QOriginpublic void generate(CodeSequence seq)
generate in interface QOriginseq - The code sequence of instruction
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||