some fixes for xml dumper / still buggy.
[libfirm] / ir / common / firm.c
index 3d906dd..fc6db5d 100644 (file)
@@ -1,7 +1,8 @@
+
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
 * All rights reserved.
 *
-* Authors: Martin Trapp, Christian Schaefer
+* Authors: Martin Trapp, Christian Schaefer, Goetz Lindenmaier
 *
 */
 
 # include "ident_t.h"
 # include "firm.h"
 # include "mangle.h"
-//# include "xp_help.h"
 # include "tv_t.h"
 /* init functions are not public */
 # include "tpop_t.h"
 # include "irnode_t.h"
 # include "irmode_t.h"
 # include "irgraph_t.h"
+# include "type_t.h"
 
 void
 init_firm (default_initialize_local_variable_func_t *func)
@@ -47,4 +48,6 @@ init_firm (default_initialize_local_variable_func_t *func)
   /* Builds a construct allowing to access all information to be constructed
      later. */
   init_irprog ();
+  /* Constructs some idents needed. */
+  init_type();
 }