fix the assert(0)->panic commit
authorMatthias Braun <matze@braunis.de>
Wed, 24 Sep 2008 07:52:00 +0000 (07:52 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 24 Sep 2008 07:52:00 +0000 (07:52 +0000)
[r22227]

ir/tr/entity.c

index 03086ae..5be81f7 100644 (file)
@@ -109,8 +109,9 @@ static INLINE void insert_entity_in_owner(ir_entity *ent) {
        case tpo_array:
                set_array_element_entity(owner, ent);
                break;
+       default:
+               panic("Unsupported type kind");
        }
-       panic("Unsupported type kind");
 }  /* insert_entity_in_owner */
 
 /**