at.dms.backend
Class QVoid

java.lang.Object
  |
  +--at.dms.backend.QNode
        |
        +--at.dms.backend.QVoid
Direct Known Subclasses:
QJump, QSwitch

class QVoid
extends QNode

This class represents the an instruction that has no return value.


Constructor Summary
QVoid(QOrigin origin)
          ???
 
Method Summary
 void generate(CodeSequence seq)
          Generates instructions for this quadruple.
 QTemporary getDef()
          Returns the defined temporary.
 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)
          ???
 java.lang.String toString()
          Human readable form.
 
Methods inherited from class at.dms.backend.QNode
getJump, getLivein, getLiveout, getStore, getSwitch, hasSideEffect, isJump, isLive, isStore, isSwitch, setLivein, setLiveout
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QVoid

public QVoid(QOrigin origin)
???
Method Detail

toString

public java.lang.String toString()
Human readable form.
Overrides:
toString in class java.lang.Object

getType

public int getType()
The type of this instruction.

getInstruction

public InstructionHandle getInstruction()
Returns the primitive instruction.
Overrides:
getInstruction in class QNode

getDef

public QTemporary getDef()
Returns the defined temporary.
Overrides:
getDef in class QNode

getUses

public QTemporary[] getUses()
Returns the used temporaries.
Overrides:
getUses in class QNode

getOrigins

public QOrigin[] getOrigins()
Returns the parameters of this instruction.
Overrides:
getOrigins in class QNode

setOrigin

public void setOrigin(QOrigin origin,
                      int i)
???
Overrides:
setOrigin in class QNode

generate

public void generate(CodeSequence seq)
Generates instructions for this quadruple.
Overrides:
generate in class QNode
Parameters:
seq - The code sequence of instruction.