harpoon.Backend.Runtime1
Class Data
java.lang.Object
harpoon.ClassFile.HData
harpoon.IR.Tree.Data
harpoon.Backend.Runtime1.Data
- Direct Known Subclasses:
- DataClaz, DataClazTable, DataConfigChecker, DataGC, DataInitializers, DataInterfaceList, DataJavaMain, DataReflection1, DataReflection2, DataReflectionMemberList, DataStaticFields, DataStrings, PreallocData
public class Data
- extends Data
Data
is an abstract superclass with handy useful methods
for the harpoon.IR.Tree.Data
subclasses in
Runtime1
.
- Version:
- $Id: Data.java,v 1.3 2002/04/10 03:03:20 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
root
protected HDataElement root
Data
protected Data(String desc,
HClass hc,
Frame f)
- Creates a
Data
.
getHClass
public HClass getHClass()
- Description copied from class:
HData
- Return the
HClass
to which this HData
belongs. Returns null
if this HData
has global, rather than class-local, data structures.
- Specified by:
getHClass
in class HData
getRootElement
public HDataElement getRootElement()
- Description copied from class:
HData
- Return the 'root' element of this data view.
- Specified by:
getRootElement
in class HData
- Returns:
- root of the data view, or
null
if this notion
is not applicable.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
_DATUM
protected DATUM _DATUM(Exp e)
_DATUM
protected DATUM _DATUM(Label l)
toUTF8
public static byte[] toUTF8(String str)
- Make a java-style UTF-8 encoded byte array for a string.
emitUtf8String
protected Stm emitUtf8String(String str)