On Wed, 2018-12-12 at 13:41 +0100, Jakub Jelinek wrote: > External Email > > ------------------------------------------------------------------- > --- > On Wed, Dec 12, 2018 at 12:34:46PM +0000, Richard Sandiford wrote: > > > I considered comparing node->decl and cfun->decl to differentiate > > > between definitions and declarations instead of using a new > > > argument > > > but having an argument seemed cleaner and clearer. > > > > Yeah, agreed. > > I actually disagree, there is no point in passing another argument. > You should be able to just check node->definition whether it is a > definition > or declaration. > > Jakub
You are right, I can just use node->definition and not add the new argument. I will make that change. Steve Ellcey sell...@cavium.com