summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.h
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2006-08-30 19:41:47 +0200
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2006-08-30 19:41:47 +0200
commite63e78bfd510bfd3f1d90cb6f3686b8e9b660ef5 (patch)
treee8d7421e54113653e6d9199b740452875ae2519a /ir/be/bera.h
parent752b172c21cf24d227a8690620b45964230a180f (diff)
les with WITH_LIBCORE disabled again
Diffstat (limited to 'ir/be/bera.h')
-rw-r--r--ir/be/bera.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/ir/be/bera.h b/ir/be/bera.h
index 16419ad..a5cacf2 100644
--- a/ir/be/bera.h
+++ b/ir/be/bera.h
@@ -19,6 +19,8 @@
#include "be.h"
#include "belive.h"
+#ifdef WITH_LIBCORE
+
typedef struct {
lc_timer_t *t_prolog; /**< timer for prolog */
lc_timer_t *t_epilog; /**< timer for epilog */
@@ -32,16 +34,20 @@ typedef struct {
lc_timer_t *t_verify; /**< timer for verification runs */
lc_timer_t *t_other; /**< timer for remaining stuff */
} be_ra_timer_t;
+#else
+typedef void be_ra_timer_t;
+#endif /* WITH_LIBCORE */
typedef struct {
#ifdef WITH_LIBCORE
void (*register_options)(lc_opt_entry_t *grp);
-#endif
be_ra_timer_t *(*allocate)(const be_irg_t *bi);
+#else
+ int dummy;
+#endif /* WITH_LIBCORE */
} be_ra_t;
-
/**
* Check, if two values interfere.
* @param lv Liveness information.