On Fri, Mar 11, 2011 at 02:15:20PM +0100, Richard Guenther wrote: > On Fri, Mar 11, 2011 at 5:23 AM, Nathan Froyd <froy...@codesourcery.com> > wrote: > > BLOCKs have a TREE_CHAIN and a TREE_TYPE; TREE_TYPE is useless for > > blocks, but we can't remove TREE_TYPE without also removing TREE_CHAIN. > > This patch lays the groundwork to do just that. It changes places that > > use chainon on BLOCKs to use block_chainon, which works identically to > > chainon except it uses BLOCK_CHAIN. And it fixes up a few places that > > used TREE_CHAIN when they meant BLOCK_CHAIN. > > The middle-end parts are ok. Any particular reason why you choose > function.[ch] for block_chainon and not tree.[ch]?
Because block_nreverse was already in function.[ch]. I'm not particularly wedded to the location and can move it if you like (I did spend some time looking through tree.[ch] before rgrep'ing and remembering that block_nreverse was in a funny location...). -Nathan