On 09/10/2013 09:15 AM, Jakub Jelinek wrote:
On Tue, Sep 10, 2013 at 09:04:41AM -0400, Andrew MacLeod wrote:
Really? If it were useful I would have thought they'd be using it now.

In any case, it doesn't belong in tree-flow.h.. . shouldn't these
functions and macros be in hashtab.h then?
It doesn't belong to hashtab.h, because that is a libiberty API, this
style of iterators is GCC specific.



Doesn't seem to be anywhere obvious to put gcc specific hash table iterators at first glance. You seem to think we should keep them so unless you have a better idea, I'll put it into a new file gcc-hash.h which can be included when someone needs it... (or simply removed when determined to be obsolete.)

Andrew

Reply via email to