projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bechordal: Remove the parameter iteration, which is always 0, from post_spill().
[libfirm]
/
ir
/
be
/
bechordal_main.c
diff --git
a/ir/be/bechordal_main.c
b/ir/be/bechordal_main.c
index
8e6536d
..
b665e63
100644
(file)
--- a/
ir/be/bechordal_main.c
+++ b/
ir/be/bechordal_main.c
@@
-62,7
+62,7
@@
#include "bearch.h"
#include "beifg.h"
#include "benode.h"
#include "bearch.h"
#include "beifg.h"
#include "benode.h"
-#include "
bestateven
t.h"
+#include "
statev_
t.h"
#include "bestat.h"
#include "bemodule.h"
#include "be_t.h"
#include "bestat.h"
#include "bemodule.h"
#include "be_t.h"
@@
-85,9
+85,7
@@
static be_ra_chordal_opts_t options = {
BE_CH_DUMP_NONE,
BE_CH_LOWER_PERM_SWAP,
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 {
};
typedef struct post_spill_env_t {
@@
-263,7
+261,7
@@
static void pre_spill(post_spill_env_t *pse, const arch_register_class_t *cls)
/**
* Perform things which need to be done per register class after spilling.
*/
/**
* 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_chordal_env_t *chordal_env = &pse->cenv;
ir_graph *irg = pse->irg;
@@
-280,9
+278,7
@@
static void post_spill(post_spill_env_t *pse, int iteration)
*/
be_timer_push(T_RA_SPILL_APPLY);
check_for_memory_operands(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);
be_timer_pop(T_RA_SPILL_APPLY);
@@
-417,7
+413,7
@@
static void be_ra_chordal_main(ir_graph *irg)
dump(BE_CH_DUMP_SPILL, irg, pse.cls, "spill");
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;
if (stat_ev_enabled) {
be_node_stats_t node_stats;