JML

org.multijava.util.backend
Interface QOrigin

All Known Implementing Classes:
QOperand, QOperator, QQuadruple

interface QOrigin

This class represents the origin of a quadruple


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
 

Method Detail

getType

public int getType()
The type of this instruction


getInstruction

public InstructionHandle getInstruction()
Returns the primitive instruction


duplicate

public QOrigin duplicate()
Duplicate this node


getUses

public QTemporary[] getUses()
Returns the used temporaries.


getOrigins

public QOrigin[] getOrigins()
returns the parameters of this instruction


setOrigin

public void setOrigin(QOrigin origin,
                      int i)
Sets the parameters of this instruction


generate

public void generate(CodeSequence seq)
Generates instructions for this quadruple

Parameters:
seq - The code sequence of instruction

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.