- /* replace SymConst(name)-operations by SymConst(ent) */
- if (is_SymConst(node)) {
- if (get_SymConst_kind(node) == symconst_addr_name) {
- pmap_entry *entry = pmap_find(ldname_map, get_SymConst_name(node));
- if (entry != NULL) { /* Method is declared in the compiled code */
- assert(!"There should not be a SymConst[addr_name] addressing a method with an implementation"
- "in this compilation unit. Use a SymConst[addr_ent].");
- }
- }
- } else if (is_Sel(node) && is_Method_type(get_entity_type(get_Sel_entity(node)))) {