X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprog.c;h=42af15b654381604d81f24e706cab8d14c20cfc6;hb=eda9d668d0e8c8246015b4c5e743316a6a835a23;hp=821551ebfb6aef2bf093b6a405af37274d5c589f;hpb=ce6bbd2fd67a297dba0dd0a078f92cdeeb7cc8bf;p=libfirm diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 821551ebf..42af15b65 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -1,15 +1,29 @@ /* - * Project: libFIRM - * File name: ir/ir/irprog.c - * Purpose: Entry point to the representation of a whole program. - * Author: Goetz Lindenmaier - * Modified by: - * Created: 2000 - * CVS-ID: $Id$ - * Copyright: (c) 2000-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 Entry point to the representation of a whole program. + * @author Goetz Lindenmaier + * @date 2000 + * @version $Id$ + */ #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -25,6 +39,7 @@ #include "obst.h" #include "typegmod.h" #include "irop_t.h" +#include "irmemory.h" /** The name of the Global Type. */ #define GLOBAL_TYPE_NAME "GlobalType" @@ -88,6 +103,7 @@ static ir_prog *complete_ir_prog(ir_prog *irp) { irp->ip_outedges = NULL; irp->trouts_state = outs_none; irp->class_cast_state = ir_class_casts_transitive; + irp->globals_adr_taken_state = ir_address_taken_not_computed; return irp; }