|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.Quads.QuadFactory
public abstract class QuadFactory
A QuadFactory
is responsible for assigning unique numbers
to the Quad
s in a method, and for maintaining some
method-wide information (such as a pointer to the parent
HCode
).
Constructor Summary | |
---|---|
QuadFactory()
|
Method Summary | |
---|---|
Linker |
getLinker()
Returns the Linker used to resolve class names
for all Quad s. |
HMethod |
getMethod()
Returns the HMethod for which all Quad s
correspond. |
abstract Code |
getParent()
Returns the HCode to which all Quad s
generated by this QuadFactory belong. |
abstract int |
getUniqueID()
Returns a unique number for a Quad within
this QuadFactory . |
abstract TempFactory |
tempFactory()
Returns the TempFactory to use for Temp
arguments to Quad s generated by this factory. |
String |
toString()
Returns a human-readable representation for this QuadFactory . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QuadFactory()
Method Detail |
---|
public abstract TempFactory tempFactory()
TempFactory
to use for Temp
arguments to Quad
s generated by this factory.
public abstract Code getParent()
HCode
to which all Quad
s
generated by this QuadFactory
belong.
public HMethod getMethod()
HMethod
for which all Quad
s
correspond.
public Linker getLinker()
Linker
used to resolve class names
for all Quad
s.
public abstract int getUniqueID()
Quad
within
this QuadFactory
.
public String toString()
QuadFactory
.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |