+ desc_t *desc = NULL;
+
+ /* ok, so if the symconst has a pointer-to-mumble, it's some address
+ calculation, but if it's the mumble itself, it's just the same,
+ except it's presumably a constant of mumble. In any case, we need to
+ branch on this. "How's that for object fucking oriented? --jwz" */
+ if (is_pointer_type (get_entity_type (ent))) {
+ desc = new_ent_name (ent);
+ } else if (is_class_type (get_entity_type (ent))) {
+ desc = new_name (get_entity_type (ent), symconst);
+ } else {
+ fprintf (stderr, "%s: not handled: %s[%li] (\"%s\")\n",
+ __FUNCTION__,
+ get_op_name (get_irn_op (symconst)),
+ get_irn_node_nr (symconst),
+ get_entity_name (ent));
+ assert (0 && "something not handled");
+ }