X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firextbb_t.h;h=d7866ad13e53574c2d716f69e5d0e85abb2ab6db;hb=45ecc187cee7107c83c1f9618a1e1e586df73644;hp=4c576f7376c61e48d59710b5f1c77f2301854cb7;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/ana/irextbb_t.h b/ir/ana/irextbb_t.h index 4c576f737..d7866ad13 100644 --- a/ir/ana/irextbb_t.h +++ b/ir/ana/irextbb_t.h @@ -1,24 +1,31 @@ /* - * Project: libFIRM - * File name: ir/ana/irextbb_t.h - * Purpose: Extended basis block support. - * Author: Michael Beck - * Modified by: - * Created: 5.2005 - * CVS-ID: $Id$ - * Copyright: (c) 2002-2005 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ /** - * @file irextbb_t.h - * - * Computes extended basic blocks. - * - * @author Michael Beck + * @file + * @brief Extended basis block support -- private header + * @author Michael Beck + * @date 5.2005 + * @version $Id$ */ -#ifndef _IREXTBB_T_H_ -#define _IREXTBB_T_H_ +#ifndef FIRM_ANA_IREXTBB_T_H +#define FIRM_ANA_IREXTBB_T_H #include "irgraph_t.h" #include "irextbb.h" @@ -29,7 +36,7 @@ */ struct _ir_extblk { firm_kind kind; /**< k_ir_extblk */ - unsigned long visited; /**< visited flag */ + ir_visited_t visited; /**< visited flag */ ir_node **blks; /**< blocks belonging to this extended block */ void *link; /**< private link field */ }; @@ -47,7 +54,7 @@ _is_ir_extbb (const void *thing) { * Gets the visited counter of an extended block. * Internal version for libFirm. */ -static INLINE unsigned long +static INLINE ir_visited_t _get_extbb_visited(const ir_extblk *blk) { assert(blk); return blk->visited; @@ -58,7 +65,7 @@ _get_extbb_visited(const ir_extblk *blk) { * Internal version for libFirm. */ static INLINE void -_set_extbb_visited(ir_extblk *blk, unsigned long visited) { +_set_extbb_visited(ir_extblk *blk, ir_visited_t visited) { assert(blk); blk->visited = visited; } @@ -152,4 +159,4 @@ _get_extbb_leader(ir_extblk *blk) #define get_extbb_n_blocks(blk) _get_extbb_n_blocks(blk) #define get_extbb_leader(blk) _get_extbb_leader(blk) -#endif /* _IREXTBB_H_ */ +#endif