This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Last argument of lang_hooks_for_callgraph.analzye_tree unused?


Jan, I'm converting the call graph builder code for tuples and in the
process I ran into calls to lang_hooks.callgraph.analyze_expr().  From
what I've seen:

1- The third argument to that function (DECL), is not used by any callback.

2- In fact, if it was used, we'd ICE because the function signature expects
   a tree and we are calling it with a callgraph node.

I'm tempted to just delete the argument.  Unless you have a future use for it?


Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]