> From: pins...@gmail.com [mailto:pins...@gmail.com] > Sent: Wednesday, January 28, 2015 6:18 PM > > + > > + int get_id (); > > + std::list<fma_root_node *> *get_roots (); > > Why use std::list rather than vec?
When I experimented I realized that better code was generated if the forests were ordered as they were encountered in the dfs. That said children could indeed use vec as they should all be renamed the same way, except when not possible (due to lack of registers). Best regards, Thomas