|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface LocationFactory.Location
The Locations returned by the
LocationFactory allocation function
are opaque data structures that permit only the creation of
an accessor fragment in Tree form.
| Method Summary | |
|---|---|
Exp |
makeAccessor(TreeFactory tf,
HCodeElement source)
Return a Tree.Exp which can be used to address
the contents of this Location for a fetch or
set operation. |
| Method Detail |
|---|
Exp makeAccessor(TreeFactory tf,
HCodeElement source)
Tree.Exp which can be used to address
the contents of this Location for a fetch or
set operation. For a global register, the returned value
will typically be an instance of Tree.TEMP;
for a memory location one would expect an instance of
Tree.MEM. The accessor may return any valid
fragment of Tree code, though. As Tree form may not
reuse subtrees, a new Tree.Exp object should
be returned every time this method is called.
The given TreeFactory is used to create
the accessor fragment.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||