X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeblocksched.c;h=74187b74b2a6d23e4bebf93b74b7e2118d59be6f;hb=dfc341ac6f54b4b0922d605e28333be76f487c68;hp=3a0ed11364e4bb34c71441a8d4731ca929b07666;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c index 3a0ed1136..74187b74b 100644 --- a/ir/be/beblocksched.c +++ b/ir/be/beblocksched.c @@ -1,9 +1,28 @@ /* - * Author: Matthias Braun, Christoph Mallon - * Date: 27.09.2006 - * Copyright: (c) Universitaet Karlsruhe - * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. - * CVS-Id: $Id$ + * 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 Block-scheduling strategies. + * @author Matthias Braun, Christoph Mallon + * @date 27.09.2006 + * @version $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -18,9 +37,11 @@ #include "iredges.h" #include "irgwalk.h" +#include "irnode_t.h" #include "irgraph_t.h" #include "irloop.h" #include "irprintf.h" +#include "execfreq.h" #include "irdump_t.h" #include "irtools.h" #include "debug.h" @@ -541,7 +562,7 @@ static void coalesce_blocks_ilp(blocksched_ilp_env_t *env) if (is_Bad(get_Block_cfgpred(block, 0))) continue; - is_jump = lpp_get_var_sol(env->lpp, edge->ilpvar); + is_jump = (int)lpp_get_var_sol(env->lpp, edge->ilpvar); if (is_jump) continue;