used new ir_exc_region_t type
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 3 Jun 2007 14:31:49 +0000 (14:31 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 3 Jun 2007 14:31:49 +0000 (14:31 +0000)
[r14300]

ir/ir/irnode.c
ir/ir/irnode_t.h

index ad0139a..36e2d08 100644 (file)
@@ -853,7 +853,8 @@ ir_node *get_Block_MacroBlock(const ir_node *block) {
 }
 
 /* returns the exception region number of a Block .*/
 }
 
 /* returns the exception region number of a Block .*/
-unsigned long get_Block_exc_region(const ir_node *block) {
+ir_exc_region_t get_Block_exc_region( const ir_node *block )
+{
        assert(is_Block(block));
        return block->attr.block.exc_region;
 }
        assert(is_Block(block));
        return block->attr.block.exc_region;
 }
index 9929744..a8e8165 100644 (file)
@@ -75,7 +75,7 @@ typedef struct {
        ir_extblk *extblk;          /**< The extended basic block this block belongs to. */
        ir_region *region;          /**< The immediate structural region this block belongs to. */
        unsigned mb_depth;          /**< The macroblock depth: A distance from the macroblock header */
        ir_extblk *extblk;          /**< The extended basic block this block belongs to. */
        ir_region *region;          /**< The immediate structural region this block belongs to. */
        unsigned mb_depth;          /**< The macroblock depth: A distance from the macroblock header */
-       unsigned long exc_region;   /**< The exception region number for this block. */
+       ir_exc_region_t exc_region; /**< The exception region number for this block. */
 
        struct list_head succ_head; /**< A list head for all successor edges of a block. */
 } block_attr;
 
        struct list_head succ_head; /**< A list head for all successor edges of a block. */
 } block_attr;