X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeprofile.c;h=2e76a50fafae08bdcb85903dcce6a052d2eeac86;hb=9276447aec4972df060349e162f583c4898dfec8;hp=fcffa8d97e16116917bd5a5cabfbfae0331e912e;hpb=205396c4f4f5abe7abd6dc2350c8c398a7623afc;p=libfirm diff --git a/ir/be/beprofile.c b/ir/be/beprofile.c index fcffa8d97..2e76a50fa 100644 --- a/ir/be/beprofile.c +++ b/ir/be/beprofile.c @@ -1,13 +1,28 @@ -/** vim: set sw=4 ts=4: - * @file beprofile.c - * @date 2006-04-06 - * @author Adam M. Szalkowski - * @cvs-id $Id$ +/* + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. * - * Code instrumentation and execution count profiling + * This file is part of libFirm. * - * Copyright (C) 2006 Universitaet Karlsruhe - * Released under the GPL + * 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 Code instrumentation and execution count profiling. + * @author Adam M. Szalkowski + * @date 06.04.2006 + * @version $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -308,7 +323,7 @@ ir_graph * be_profile_instrument(const char *filename, unsigned flags) { int n, i; - unsigned int n_blocks = 0; + int n_blocks = 0; ir_entity *bblock_id; ir_entity *bblock_counts; ir_entity *ent_filename;