Re: Reverse mapping from decl uid

2010-09-19 Thread Richard Guenther
On Sat, Sep 18, 2010 at 9:26 PM, Uday P. Khedker wrote: > > Given a tree node, we can get its uid by using DECL_UID(node). > > Given a uid, is it possible to directly get the tree node that > corresponds to it? I can of course make a list of nodes that I > am interested in but if there is an API,

Reverse mapping from decl uid

2010-09-18 Thread Uday P. Khedker
Given a tree node, we can get its uid by using DECL_UID(node). Given a uid, is it possible to directly get the tree node that corresponds to it? I can of course make a list of nodes that I am interested in but if there is an API, I would much rather use it. Thanks. Uday. P.S. : Earlier, I hav