typerep: freeing a type frees contained entities
authorMatthias Braun <matze@braunis.de>
Tue, 20 Dec 2011 16:16:03 +0000 (17:16 +0100)
committerMatthias Braun <matze@braunis.de>
Wed, 21 Dec 2011 17:21:21 +0000 (18:21 +0100)
commita96ece7b3fc2821c234710458ec9ab1b8fbc737a
tree00f22e63a28c767f6a5d2a01025c7dde852c590c
parent62a070ee2aedb1bfbe1645dbd49ea755d9294c71
typerep: freeing a type frees contained entities

Types "own" entities, so they should also free them when they get freed.
include/libfirm/typerep.h
ir/ir/irprog.c
ir/tr/type.c
ir/tr/type_t.h