harpoon.Backend.RuntimeTiny
Class DataClazTable

java.lang.Object
  extended by harpoon.ClassFile.HData
      extended by harpoon.IR.Tree.Data
          extended by harpoon.Backend.Runtime1.Data
              extended by harpoon.Backend.RuntimeTiny.DataClazTable

public class DataClazTable
extends Data

DataClazTable outputs an indirection table listing all the claz structures used in the program. This allows us to use a (short) index into this table to dereference the claz rather than a (long) direct pointer. Note that this table *only* contains *instantiated* types --- ie, claz descriptors which could actually appear in the claz field of an instantiated object.

Version:
$Id: DataClazTable.java,v 1.4 2004/02/08 03:21:01 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Nested Class Summary
 
Nested classes/interfaces inherited from class harpoon.IR.Tree.Data
Data.TreeFactory
 
Field Summary
 
Fields inherited from class harpoon.Backend.Runtime1.Data
root
 
Fields inherited from class harpoon.IR.Tree.Data
desc, frame, modCount, tf
 
Constructor Summary
DataClazTable(Frame f, HClass hc, ClassHierarchy ch, harpoon.Backend.RuntimeTiny.ClazNumbering cn)
          Creates a DataClazTable.
 
Method Summary
 
Methods inherited from class harpoon.Backend.Runtime1.Data
_DATUM, _DATUM, emitUtf8String, getHClass, getRootElement, hashCode, toUTF8
 
Methods inherited from class harpoon.IR.Tree.Data
getDesc, print
 
Methods inherited from class harpoon.ClassFile.HData
clone, getElementsI, getElementsL, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataClazTable

public DataClazTable(Frame f,
                     HClass hc,
                     ClassHierarchy ch,
                     harpoon.Backend.RuntimeTiny.ClazNumbering cn)
Creates a DataClazTable.