removed unitialized used vartiable
[libfirm] / ir / be / bera.h
index 9315f8d..5a6f53e 100644 (file)
@@ -3,15 +3,12 @@
  * @author Sebastian Hack
  * @date 13.1.2005
  */
-
 #ifndef _BERA_H
 #define _BERA_H
 
 #include "firm_config.h"
 
-#ifdef WITH_LIBCORE
 #include <libcore/lc_timing.h>
-#endif
 
 #include "firm_types.h"
 
@@ -20,8 +17,6 @@
 #include "beirg.h"
 #include "bemodule.h"
 
-#ifdef WITH_LIBCORE
-
 typedef struct {
        lc_timer_t *t_prolog;      /**< timer for prolog */
        lc_timer_t *t_epilog;      /**< timer for epilog */
@@ -37,10 +32,6 @@ typedef struct {
 } be_ra_timer_t;
 
 extern be_ra_timer_t *global_ra_timer;
-#else
-typedef void *be_ra_timer_t;
-typedef void *lc_opt_entry_t;
-#endif  /* WITH_LIBCORE */
 
 typedef struct be_ra_t {
        void (*allocate)(be_irg_t *bi);   /**< allocate registers on a graph */
@@ -73,4 +64,9 @@ int values_interfere(const be_lv_t *lv, const ir_node *a, const ir_node *b);
  */
 int value_dominates(const ir_node *a, const ir_node *b);
 
+/**
+ * Like value_dominates(), but the nodes have to be in the same block
+ */
+int value_dominates_intrablock(const ir_node *a, const ir_node *b);
+
 #endif /* _BERA_H */