From 08c7dad84e85f00b43af3e62c14829211fe19641 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sun, 3 Jun 2007 14:33:13 +0000 Subject: [PATCH] used new ir_exc_region_t type [r14302] --- ir/ir/irprog.c | 2 +- ir/ir/irprog_t.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 872feaa5e..7770a9c71 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -391,6 +391,6 @@ void set_irp_callee_info_state(irg_callee_info_state s) { } /* Returns a new, unique exception region number. */ -unsigned long (get_irp_next_region_nr)(void) { +ir_exc_region_t (get_irp_next_region_nr)(void) { return _get_irp_next_region_nr(); } diff --git a/ir/ir/irprog_t.h b/ir/ir/irprog_t.h index 24f29eefb..660f3fc29 100644 --- a/ir/ir/irprog_t.h +++ b/ir/ir/irprog_t.h @@ -88,12 +88,12 @@ struct ir_prog { int max_callgraph_recursion_depth; /**< needed in callgraph. */ double max_method_execution_frequency; /**< needed in callgraph. */ irp_temperature_state temperature_state; /**< accumulated temperatures computed? */ - exec_freq_state execfreq_state; /**< The state of execution frequency information */ + exec_freq_state execfreq_state; /**< The state of execution frequency information */ loop_nesting_depth_state lnd_state; /**< The state of loop nesting depth information. */ ir_class_cast_state class_cast_state; /**< The state of cast operations in code. */ ir_address_taken_computed_state globals_adr_taken_state; /**< Address taken state of the globals. */ - unsigned long last_region_nr; /**< The last exception region number that was assigned. */ + ir_exc_region_t last_region_nr; /**< The last exception region number that was assigned. */ #ifdef DEBUG_libfirm long max_node_nr; /**< to generate unique numbers for nodes. */ #endif @@ -183,7 +183,7 @@ _get_const_code_irg(void) { } /** Returns a new, unique exception region number. */ -static INLINE unsigned long +static INLINE ir_exc_region_t _get_irp_next_region_nr(void) { assert(irp); return ++irp->last_region_nr; -- 2.20.1