Re: [1/4] Use tree_to_uhwi with an inlined tree_fits_uhwi_p test

2013-11-20 Thread Richard Biener
On Tue, Nov 19, 2013 at 12:54 PM, Richard Sandiford wrote: > check_function_arguments_recurse has an assert that is equivalent > to tree_fits_uhwi_p. The extraction can then use tree_to_uhwi. > > Asserting here makes the intent obvious, but tree_to_uhwi also asserts > for the same thing, so an al

[1/4] Use tree_to_uhwi with an inlined tree_fits_uhwi_p test

2013-11-19 Thread Richard Sandiford
check_function_arguments_recurse has an assert that is equivalent to tree_fits_uhwi_p. The extraction can then use tree_to_uhwi. Asserting here makes the intent obvious, but tree_to_uhwi also asserts for the same thing, so an alternative would be to use tree_to_uhwi on its own. Thanks, Richard