|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.Quads.Quad
harpoon.IR.LowQuad.LowQuad
harpoon.IR.LowQuad.PPTR
public abstract class PPTR
PPTR
is an abstract superclass of the LowQuad
s
that convert object references into POINTER
types. We
allow arithmetic only on POINTER
s.
Field Summary | |
---|---|
protected Temp |
dst
The Temp in which to store the computed
POINTER value. |
protected Temp |
objectref
The Temp holding the object reference to
convert. |
Fields inherited from class harpoon.IR.Quads.Quad |
---|
arrayFactory |
Constructor Summary | |
---|---|
PPTR(LowQuadFactory qf,
HCodeElement source,
Temp dst,
Temp objectref)
Creates a PPTR . |
Method Summary | |
---|---|
Temp[] |
def()
Return all the Temps defined by this Quad. |
Temp |
dst()
Returns the Temp in which to store the computed
POINTER value. |
Temp |
objectref()
Returns the Temp containing the object reference
to convert into a POINTER . |
Temp[] |
use()
Return all the Temps used by this Quad. |
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, useC |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Temp dst
Temp
in which to store the computed
POINTER
value.
protected final Temp objectref
Temp
holding the object reference to
convert.
Constructor Detail |
---|
public PPTR(LowQuadFactory qf, HCodeElement source, Temp dst, Temp objectref)
PPTR
.
Method Detail |
---|
public Temp dst()
Temp
in which to store the computed
POINTER
value.
public Temp objectref()
Temp
containing the object reference
to convert into a POINTER
.
public Temp[] use()
Quad
use
in interface UseDefable
use
in class Quad
public Temp[] def()
Quad
def
in interface UseDefable
def
in class Quad
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |