/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* @param node the node
*/
-ir_extblk *get_nodes_extbb(ir_node *node);
+ir_extblk *get_nodes_extbb(const ir_node *node);
/**
* Gets the visited counter of an extended block.
*
* @param blk the extended basic block
*/
-unsigned long get_extbb_visited(const ir_extblk *blk);
+ir_visited_t get_extbb_visited(const ir_extblk *blk);
/**
* Sets the visited counter of an extended block.
*
* @param blk the extended basic block
*/
-void set_extbb_visited(ir_extblk *blk, unsigned long visited);
+void set_extbb_visited(ir_extblk *blk, ir_visited_t visited);
/**
* Mark an extended block as visited in a graph.
* @param blk the extended basic block
* @param pos the position
*/
-ir_node *get_extbb_block(ir_extblk *blk, int pos);
+ir_node *get_extbb_block(const ir_extblk *blk, int pos);
/**
* Return the leader basic block of an extended block.
*
* @param blk the extended basic block
*/
-ir_node *get_extbb_leader(ir_extblk *blk);
+ir_node *get_extbb_leader(const ir_extblk *blk);
/**
* Return the node number of an extended block.
*
* @param blk the extended basic block
*/
-long get_extbb_node_nr(ir_extblk *blk);
+long get_extbb_node_nr(const ir_extblk *blk);
/**
* Walks only over Extended Basic Block nodes in the graph.