bespillutil: Inline be_add_reload2() into its only caller be_add_reload(), which...
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 30 Nov 2012 08:31:15 +0000 (09:31 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 30 Nov 2012 08:56:51 +0000 (09:56 +0100)
ir/be/bespillutil.c
ir/be/bespillutil.h

index c366863..686ad68 100644 (file)
@@ -228,8 +228,7 @@ void be_add_spill(spill_env_t *env, ir_node *to_spill, ir_node *after)
        spill_info->spills = spill;
 }
 
-void be_add_reload2(spill_env_t *env, ir_node *to_spill, ir_node *before,
-               const arch_register_class_t *reload_cls, int allow_remat)
+void be_add_reload(spill_env_t *env, ir_node *to_spill, ir_node *before, const arch_register_class_t *reload_cls, int allow_remat)
 {
        spill_info_t  *info;
        reloader_t    *rel;
@@ -265,13 +264,6 @@ void be_add_reload2(spill_env_t *env, ir_node *to_spill, ir_node *before,
                to_spill, before, allow_remat ? "" : " not"));
 }
 
-void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before,
-                   const arch_register_class_t *reload_cls, int allow_remat)
-{
-       be_add_reload2(senv, to_spill, before, reload_cls, allow_remat);
-
-}
-
 ir_node *be_get_end_of_block_insertion_point(const ir_node *block)
 {
        ir_node *last = sched_last(block);
index c4b674c..da78cd3 100644 (file)
@@ -71,9 +71,6 @@ void be_add_spill(spill_env_t *senv, ir_node *to_spill, ir_node *after);
 void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before,
                    const arch_register_class_t *reload_cls, int allow_remat);
 
-void be_add_reload2(spill_env_t *senv, ir_node *to_spill, ir_node *before,
-                   const arch_register_class_t *reload_cls, int allow_remat);
-
 /**
  * Analog to be_add_reload, but places the reload "on an edge" between 2 blocks
  * @see be_add_reload