This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
TREE representation of class
- To: java at gcc dot gnu dot org
- Subject: TREE representation of class
- From: Dachuan Yu <dachuan dot yu at yale dot edu>
- Date: Fri, 28 Sep 2001 16:31:52 -0400
- Organization: Yale University
Is there any document on how classes are represented
as tree nodes? All I learned so far is that it's
represented as some "record type". If I want to add
new stuff into the representation of a class, say
another table besides the vtable, can I simply add
one more "field" to that "record"? And what's the
common practice when the class representation is
used? In other words, how do I access the "field" of
the "record" which represents a class?
Sorry that I keep asking about these implemetation
details. Diving into GCJ is pretty overwelming to
me. And I really appreciate the suggestions you've
given me here. I've been following those suggestions
little by little, although I can not apply those
techniques freely yet.
Dachuan