[Prev][Next][Index]

Re: SgFunctionSymb::numberOfParameters returns bogus value



>What is the in_l field, anyway?

in_l field is a pointer to the first argument symbol. For symbols  
that have variant FUNCTION_NAME, this information is actually stored  
in the .dep file. The method SgFunctionSymb::numberOfParameters is  
using this field to find the first argument.
The SgSymbol::declareTheSymbol was (incorrectly) modifying this  
field. I have just CVS'ed a change to declareTheSymbol, so now
SgFunctionSymb::numberOfParameters should work correctly.
               --Beata 

PS: I'll be on vacation for the next two weeks.