9 * Methods to verify the type representations.
11 * @author Goetz Lindenmaier
13 * Methods to verify the type representations.
14 * Copyright 2003 University of Karlsruhe.
24 * possible trvrfy() error codes
26 enum trvrfy_error_codes {
27 no_error = 0, /**< no error */
28 error_ent_not_cont = 1, /**< overwritten entity not in superclass */
29 error_null_mem = 2, /**< compound contains NULL member */
30 error_const_on_wrong_irg = 3, /**< constant placed on wrong IRG */
35 * Walks the type information and performs a set of sanity checks.
37 * Currently, the following checks are executed:
38 * - values of initialized entities must be allocated on the constant IRG
39 * - class types: doesn't have NULL members
40 * - class types: all overwrites are existant in the super type
43 * 0 if graph is correct
49 * If NDEBUG is defined performs nothing, else calles the tr_vrfy() function.
54 #define TR_VRFY() tr_vrfy()