{
int i;
int maxslot;
- int inc_ofs;
ir_node *node;
ir_node *stores[MAXPUSH_OPTIMIZE];
ir_node *block;
memset(stores, 0, sizeof(stores));
- assert(be_is_IncSP(irn));
-
- inc_ofs = be_get_IncSP_offset(irn);
+ int inc_ofs = be_get_IncSP_offset(irn);
if (inc_ofs < 4)
return;
static void peephole_Load_IncSP_to_pop(ir_node *irn)
{
const arch_register_t *esp = &ia32_registers[REG_ESP];
- int i, maxslot, inc_ofs, ofs;
+ int i, maxslot, ofs;
ir_node *node, *pred_sp, *block;
ir_node *loads[MAXPUSH_OPTIMIZE];
unsigned regmask = 0;
unsigned copymask = ~0;
memset(loads, 0, sizeof(loads));
- assert(be_is_IncSP(irn));
- inc_ofs = -be_get_IncSP_offset(irn);
+ int inc_ofs = -be_get_IncSP_offset(irn);
if (inc_ofs < 4)
return;