Re: [PATCH] Fix up pre_and_rev_post_order_compute_fn

2019-02-07 Thread Richard Biener
On February 7, 2019 11:37:29 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >I've noticed pre_and_rev_post_order_compute_fn is one of (apparently >many) >functions that take a struct function * argument and accept any >function, as >long as it is cfun. For a patch I've been working on I actually need

[PATCH] Fix up pre_and_rev_post_order_compute_fn

2019-02-07 Thread Jakub Jelinek
Hi! I've noticed pre_and_rev_post_order_compute_fn is one of (apparently many) functions that take a struct function * argument and accept any function, as long as it is cfun. For a patch I've been working on I actually need it to handle other functions as well and in this case it is trivial to f