On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote:
> I have a GIMPLE_CALL gimple object.  I want to get the tree node
> representing the callsite for this particular instance of a call, how
> can I get this information?

I'm not sure to understand your question (what exactly do you mean by 
"callsite").

However, the called function can be obtained by gimple_call_fndecl which gives 
a tree.

If using MELT http://gcc-melt.org/ you just use a gimple_call pattern...

Regards.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

Reply via email to