* @brief Spill module selection; Preparation steps
* @author Matthias Braun
* @date 29.09.2005
- * @version $Id$
*/
#include "config.h"
#include "debug.h"
#include "iredges_t.h"
#include "raw_bitset.h"
-#include "statev.h"
+#include "statev_t.h"
#include "irgwalk.h"
#include "bespill.h"
unsigned *tmp = NULL;
unsigned *def_constr = NULL;
int arity = get_irn_arity(node);
- ir_node *def;
int i, i2;
/* collect all registers occurring in out constraints. */
be_foreach_definition(node, cls, def,
+ (void)def;
if (! (req_->type & arch_register_req_type_limited))
continue;
if (def_constr == NULL) {
static void pre_spill_prepare_constr_walker(ir_node *block, void *data)
{
be_pre_spill_env_t *env = (be_pre_spill_env_t*)data;
- ir_node *node;
sched_foreach(block, node) {
prepare_constr_insn(env, node);
}
env.irg = irg;
env.cls = cls;
- be_assure_liveness(irg);
+ be_assure_live_sets(irg);
irg_block_walk_graph(irg, pre_spill_prepare_constr_walker, NULL, &env);
}