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