Added call to eliminate_phi_interferences. Enabled phi-destruction.
[libfirm] / ir / be / be_t.h
index 0ce4183..b5d402e 100644 (file)
@@ -7,6 +7,9 @@
 #ifndef _BE_T_H
 #define _BE_T_H
 
+#include "obst.h"
+
+#if 0
 typedef struct _phase_t {
        const char *name;
        int id;
@@ -16,5 +19,18 @@ int phase_register(phase_t *phase);
 void phase_applied(const ir_graph *irg, const phase_t *phase);
 int phase_depends_on(const ir_graph *irg, const phase_t *phase, int n, ...);
 int phase_invalidates(const ir_graph *irg, const phase_t *phase, int n, ...);
+#endif
+
+typedef struct _be_main_env_t {
+  struct obstack obst;
+  struct _be_node_factory_t *node_factory;
+  struct _arch_env_t *arch_env;
+} be_main_env_t;
+
+typedef struct _be_main_session_env_t {
+  const be_main_env_t *main_env;
+  ir_graph *irg;
+  struct _dom_front_info_t *dom_front;
+} be_main_session_env_t;
 
 #endif