From 12aaa3fc53618991634823a6738f50360a54633b Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 29 Nov 2012 08:37:51 +0100 Subject: [PATCH] bespillutil: Remove the unusd function be_add_reload_at_end(). --- ir/be/bespillutil.c | 9 --------- ir/be/bespillutil.h | 8 -------- 2 files changed, 17 deletions(-) diff --git a/ir/be/bespillutil.c b/ir/be/bespillutil.c index 1b2023010..8cc61e12e 100644 --- a/ir/be/bespillutil.c +++ b/ir/be/bespillutil.c @@ -328,15 +328,6 @@ static ir_node *get_block_insertion_point(ir_node *block, int pos) return be_get_end_of_block_insertion_point(predblock); } -void be_add_reload_at_end(spill_env_t *env, ir_node *to_spill, - const ir_node *block, - const arch_register_class_t *reload_cls, - int allow_remat) -{ - ir_node *before = be_get_end_of_block_insertion_point(block); - be_add_reload(env, to_spill, before, reload_cls, allow_remat); -} - void be_add_reload_on_edge(spill_env_t *env, ir_node *to_spill, ir_node *block, int pos, const arch_register_class_t *reload_cls, int allow_remat) diff --git a/ir/be/bespillutil.h b/ir/be/bespillutil.h index b09352323..80141c2a0 100644 --- a/ir/be/bespillutil.h +++ b/ir/be/bespillutil.h @@ -74,14 +74,6 @@ void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before, void be_add_reload2(spill_env_t *senv, ir_node *to_spill, ir_node *before, ir_node *can_spill_after, const arch_register_class_t *reload_cls, int allow_remat); -/** - * Add a reload at the end of a block. - * Similar to be_add_reload_on_edge(). - */ -void be_add_reload_at_end(spill_env_t *env, ir_node *to_spill, const ir_node *block, - 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 -- 2.20.1