This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I looked into some of this in the past too, but I was not so adventurous as Dan to actually try doing the hard work. The main reason was that it is just impossible to determine beforehand how trees are to be split up,
I plan on documenting *how* i split them up, how to add new trees, how to deal with inheritance and checking, and when they should be split up.
I'm writing this stuff on the wiki right now.
My whole evil plan is to have a single inheritance hierarchy for _DECL, and if this means occasionally we have to waste 4 bytes because of it, *that's* not so big a problem, as long as we are wasting 4 bytes out of 64, not 4 bytes out of 208 :)
I should also note my current plans only include _DECL nodes, but the same principles could be applied to *all* our tree nodes.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |