go/names.cc
std::string
Gogo::function_descriptor_name(Named_object* no)
{
  if (no->is_function() && !no->func_value()->asm_name().empty())
    return no->func_value()->asm_name() + "..f";
  else if (no->is_function_declaration()
	   && !no->func_declaration_value()->asm_name().empty())
    return no->func_declaration_value()->asm_name() + "..f";
  std::string ret = this->function_asm_name(no->name(), no->package(), NULL);
  ret.append("..f");
  return ret;
}
// Return the name to use for a function descriptor.  These symbols
// are globally visible.
Return the name to use for a function descriptor.  These symbols
are globally visible.
Return the name to use for a function descriptor . These symbols are globally visible .
std::string
Gogo::function_descriptor_name(Named_object* no)
{
  if (no->is_function() && !no->func_value()->asm_name().empty())
    return no->func_value()->asm_name() + "..f";
  else if (no->is_function_declaration()
	   && !no->func_declaration_value()->asm_name().empty())
    return no->func_declaration_value()->asm_name() + "..f";
  std::string ret = this->function_asm_name(no->name(), no->package(), NULL);
  ret.append("..f");
  return ret;
}
std :: string Gogo :: function_descriptor_name ( Named_object * no ) { if ( no -> is_function ( ) && ! no -> func_value ( ) -> asm_name ( ) . empty ( ) ) return no -> func_value ( ) -> asm_name ( ) + " " ; else if ( no -> is_function_declaration ( ) && ! no -> func_declaration_value ( ) -> asm_name ( ) . empty ( ) ) return no -> func_declaration_value ( ) -> asm_name ( ) + " " ; std :: string ret = this -> function_asm_name ( no -> name ( ) , no -> package ( ) , NULL ) ; ret . append ( " " ) ; return ret ; }
Return the name to use for a function descriptor.
Return the name to use for a function descriptor .