new.
[libfirm] / ir / tr / trvrfy.h
1
2
3 #ifndef TRVRFY_H
4 #define TRVRFY_H
5
6 /**
7  * @file trvrfy.h
8  *
9  * Methods to verify the type representations.
10  *
11  * @author Goetz Lindenmaier
12  *
13  * Methods to verify the type representations.
14  * Copyright 2003 University of Karlsruhe.
15  * Created 29.1.2003.
16  *
17  * $Id$
18  */
19
20 #include "firm.h"
21
22 /**
23  * possible error codes
24  */
25 enum  trvrfy_error_codes {
26   no_error = 0,
27   error_ent_not_cont = 1,
28   error_null_mem,
29 };
30
31
32 /**
33  * Walks the type information and performs a set of sanity checks.
34  *
35  * @return
36  *    0 if graph is correct
37  *    else error code.
38  */
39 int tr_vrfy();
40
41 #endif /* TRVRFY_H */