harpoon.IR.LowQuad
Class PCONST

java.lang.Object
  extended by harpoon.IR.Quads.Quad
      extended by harpoon.IR.LowQuad.LowQuad
          extended by harpoon.IR.LowQuad.PCONST
All Implemented Interfaces:
HCodeElement, CFGraphable<Quad,Edge>, UseDefable, Graph.Node<Quad,Edge>, Serializable, Cloneable, Comparable<Quad>
Direct Known Subclasses:
PAOFFSET, PFCONST, PFOFFSET, PMCONST, PMOFFSET

public abstract class PCONST
extends LowQuad

PCONST is an abstract superclass of the LowQuads that encode symbolic offsets or constants for array elements, fields, and methods.

Version:
$Id: PCONST.java,v 1.4 2002/04/10 03:04:57 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
Serialized Form

Field Summary
protected  Temp dst
          The Temp in which to store the offset or constant.
 
Fields inherited from class harpoon.IR.Quads.Quad
arrayFactory
 
Constructor Summary
PCONST(LowQuadFactory qf, HCodeElement source, Temp dst)
          Creates a PCONST.
 
Method Summary
 Temp[] def()
          Return all the Temps defined by this Quad.
 Temp dst()
          Returns the Temp in which to store the offset or constant.
 
Methods inherited from class harpoon.IR.LowQuad.LowQuad
accept, accept
 
Methods inherited from class harpoon.IR.Quads.Quad
addEdge, addEdges, addHandlers, clone, clone, clone, compareTo, defC, edgeC, edges, getFactory, getID, getLineNumber, getSourceFile, handlers, hashCode, isPred, isSucc, kind, map, map, map, next, next, nextEdge, nextEdge, nextLength, pred, predC, prev, prev, prevEdge, prevEdge, prevLength, remove, removeHandlers, rename, rename, replace, succ, succC, toLongString, toString, transferHandlers, use, useC
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dst

protected final Temp dst
The Temp in which to store the offset or constant.

Constructor Detail

PCONST

public PCONST(LowQuadFactory qf,
              HCodeElement source,
              Temp dst)
Creates a PCONST.

Method Detail

dst

public Temp dst()
Returns the Temp in which to store the offset or constant.


def

public Temp[] def()
Description copied from class: Quad
Return all the Temps defined by this Quad.

Specified by:
def in interface UseDefable
Overrides:
def in class Quad