- if (ent->has_initializer) {
- add_method_address_intitialzer(get_entity_initializer(ent), set);
- } else if (is_atomic_entity(ent)) {
- tp = get_entity_type(ent);
-
- /* ignore methods: these of course reference it's address */
- if (is_Method_type(tp))
- return;
-
- /* let's check if it's the address of a function */
- n = get_atomic_ent_value(ent);
- if (is_Global(n)) {
- ent = get_Global_entity(n);
-
- if (is_Method_type(get_entity_type(ent)))
- eset_insert(set, ent);
- }
- } else {
+ if (ent->initializer != NULL) {
+ add_method_address_inititializer(get_entity_initializer(ent), set);
+ } else if (entity_has_compound_ent_values(ent)) {