#include "bearch.h"
#include "beifg.h"
#include "benode.h"
-#include "bestatevent.h"
+#include "statev_t.h"
#include "bestat.h"
#include "bemodule.h"
#include "be_t.h"
static be_ra_chordal_opts_t options = {
BE_CH_DUMP_NONE,
BE_CH_LOWER_PERM_SWAP,
- BE_CH_VRFY_WARN,
- "",
- ""
+ BE_CH_VRFY_WARN
};
typedef struct post_spill_env_t {
/**
* Perform things which need to be done per register class after spilling.
*/
-static void post_spill(post_spill_env_t *pse, int iteration)
+static void post_spill(post_spill_env_t *const pse)
{
be_chordal_env_t *chordal_env = &pse->cenv;
ir_graph *irg = pse->irg;
*/
be_timer_push(T_RA_SPILL_APPLY);
check_for_memory_operands(irg);
- if (iteration == 0) {
- be_abi_fix_stack_nodes(irg);
- }
+ be_abi_fix_stack_nodes(irg);
be_timer_pop(T_RA_SPILL_APPLY);
dump(BE_CH_DUMP_SPILL, irg, pse.cls, "spill");
- post_spill(&pse, 0);
+ post_spill(&pse);
if (stat_ev_enabled) {
be_node_stats_t node_stats;