Commit 615a649b authored by Matthias Braun's avatar Matthias Braun
Browse files

put timers in a global var for now, until this is solved cleaner

parent 4ff2ba7a
......@@ -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))
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment