/*
- * 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.
+ * Copyright (C) 2012 University of Karlsruhe.
*/
/**
#include "ircons_t.h"
#include "irmode_t.h"
#include "irgraph_t.h"
-#include "irprintf_t.h"
+#include "irprintf.h"
#include "irgwalk.h"
#include "ircons.h"
#include "irdump.h"
{
chordal_env->cls = cls;
chordal_env->border_heads = pmap_create();
- chordal_env->allocatable_regs = bitset_malloc(chordal_env->cls->n_regs);
+ chordal_env->allocatable_regs = bitset_malloc(cls->n_regs);
be_assure_live_chk(irg);
be_put_allocatable_regs(irg, cls, chordal_env->allocatable_regs);
be_timer_push(T_RA_CONSTR);
- be_pre_spill_prepare_constr(irg, chordal_env->cls);
+ be_pre_spill_prepare_constr(irg, cls);
be_timer_pop(T_RA_CONSTR);
dump(BE_CH_DUMP_CONSTR, irg, cls, "constr-pre");