Re: Adding a statement to statement list before pass_cfg_build

2010-02-19 Thread Saleel Kudchadker
Thank you Richard. I think I will try to add them on the edges once the basic blocks are created. On Fri, Feb 19, 2010 at 12:19 PM, Richard Guenther wrote: > On Fri, Feb 19, 2010 at 8:07 PM, Saleel Kudchadker wrote: >> Hi >> >> I've been trying to add a statement before the statement list before

Re: Adding a statement to statement list before pass_cfg_build

2010-02-19 Thread Richard Guenther
On Fri, Feb 19, 2010 at 8:07 PM, Saleel Kudchadker wrote: > Hi > > I've been trying to add a statement before the statement list before > the basic blocks are created. I am planning to add a function call > statement before a user function is called and I use the instrument > function definition a

Adding a statement to statement list before pass_cfg_build

2010-02-19 Thread Saleel Kudchadker
Hi I've been trying to add a statement before the statement list before the basic blocks are created. I am planning to add a function call statement before a user function is called and I use the instrument function definition as a statement . The code and the pass compiles properly but no functi