put timers in a global var for now, until this is solved cleaner
authorMatthias Braun <matze@braunis.de>
Wed, 21 Feb 2007 07:51:57 +0000 (07:51 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 21 Feb 2007 07:51:57 +0000 (07:51 +0000)
ir/be/bera.c
ir/be/bera.h

index 3627669..fe36642 100644 (file)
@@ -22,6 +22,8 @@
 #include "belive_t.h"
 #include "bemodule.h"
 
+be_ra_timer_t *global_ra_timer = NULL;
+
 static sched_timestep_t get_time_step(const ir_node *irn)
 {
        if(is_Phi(irn))
index 1ca7f64..9315f8d 100644 (file)
@@ -35,6 +35,8 @@ typedef struct {
        lc_timer_t *t_verify;      /**< timer for verification runs */
        lc_timer_t *t_other;       /**< timer for remaining stuff */
 } 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;