X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fircgcons.h;h=2f627b1ec058ca1fd8ac031a9e9ff8535f4b6b88;hb=b987bd4b7217d31686a6e3546aa8ded3c521ebd4;hp=84c195f3bd7d9c3e9ee454dc134375d7485ecff9;hpb=63eda4e17ebee2a6ab7520d0559ddac0223607d7;p=libfirm diff --git a/ir/ir/ircgcons.h b/ir/ir/ircgcons.h index 84c195f3b..2f627b1ec 100644 --- a/ir/ir/ircgcons.h +++ b/ir/ir/ircgcons.h @@ -1,22 +1,34 @@ /* - * Project: libFIRM - * File name: ir/ir/ircgcons.h - * Purpose: Construction and removal of interprocedural representation - * (explicit interprocedural dependencies). - * Author: Hubert Schmid - * Modified by: - * Created: 09.06.2002 - * CVS-ID: $Id$ - * Copyright: (c) 2002-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2007 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 + * @brief Construction and removal of interprocedural representation + * (explicit interprocedural dependencies). + * @author Hubert Schmid + * @date 09.06.2002 + * @version $Id$ + */ +#ifndef FIRM_IR_IRCGCONS_H +#define FIRM_IR_IRCGCONS_H -#ifndef _CONSTRUCT_H_ -#define _CONSTRUCT_H_ - - -#include "entity.h" +#include "firm_types.h" /** The state of the interprocedural view. * @@ -45,12 +57,11 @@ void set_irp_ip_view_invalid(void); * are external visible. These methods get an 'Unknown' * caller. * @arg arr_len The number of free methods. */ -void cg_construct(int arr_len, entity *free_methods_arr[]); +void cg_construct(int arr_len, ir_entity *free_methods_arr[]); /** Deconstruction of the interprocedural view. Reduces memory consumption of the ir. Sets ip_view_no in irp. */ void cg_destruct(void); - -#endif /* _CONSTRUCT_H_ */ +#endif