-/** Returns the entity that contains the implementation of the inherited
- * entity if available, else returns the entity passed. */
-static ir_entity *get_inherited_methods_implementation(ir_entity *inh_meth) {
- ir_node *value = get_atomic_ent_value(inh_meth);
- assert(value && "constant entity without value");
- assert(is_SymConst_addr_ent(value) &&
- "Complex constant values not supported -- address of method should be straight constant!");
-
- return get_SymConst_entity(value);
-}
-