fix firm backend
[libfirm] / ir / be / be.h
index 30e60b2..fdc9b92 100644 (file)
@@ -8,6 +8,8 @@
 #include "dbginfo.h"
 #include "ifconv.h"
 
+#include <libcore/lc_timing.h>
+
 #define LC_STOP_AND_RESET_TIMER(timer) do { lc_timer_stop(timer); lc_timer_reset(timer); } while(0)
 
 /**
@@ -31,7 +33,7 @@ typedef struct backend_params {
        void *create_intrinsic_ctx;
 
        /** backend settings for if-conversion */
-       opt_if_conv_info_t *if_conv_info;
+       const opt_if_conv_info_t *if_conv_info;
 } backend_params;
 
 /**
@@ -73,7 +75,6 @@ void be_set_debug_retrieve(retrieve_dbg_func func);
 const char *be_retrieve_dbg_info(const dbg_info *dbg, unsigned *line);
 
 typedef struct _be_main_env_t be_main_env_t;
-typedef struct _be_irg_t be_irg_t;
 typedef struct _be_options_t be_options_t;
 
 #endif /* _BE_MAIN_H */