This is the mail archive of the gcc@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]

Re: [tree-ssa]: Code movement is a pain in the ass.


On Sun, 2003-08-10 at 01:42, Daniel Berlin wrote:

> Anybody mind if i make bsi_remove take an argument to convince it i'm
> only removing the statement temporarily (ie moving it), and then add
> an argument to  remove_stmt to tell it *not* to reset definitions and
> annotations?
> 
> That way, i can just remove it from one place, and move it to another?
> 
Or, how about we create a bsi_move (stmt, from, to)?  'from' and 'to'
may be iterators or some structure that includes enough info to remap
the statement from the old location into the new one.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]