From 91889b25a9d493b69a8999cd8212537d0b75455a Mon Sep 17 00:00:00 2001 From: Sebastian Hack Date: Thu, 9 Aug 2007 20:16:54 +0000 Subject: [PATCH] Fixed a const warning [r15516] --- ir/be/bespill.c | 2 +- ir/be/bespill.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/be/bespill.c b/ir/be/bespill.c index 1a52c0298..85c051d17 100644 --- a/ir/be/bespill.c +++ b/ir/be/bespill.c @@ -304,7 +304,7 @@ 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, ir_node *block, +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) { diff --git a/ir/be/bespill.h b/ir/be/bespill.h index 18f56d0ab..11794dbc0 100644 --- a/ir/be/bespill.h +++ b/ir/be/bespill.h @@ -69,7 +69,7 @@ void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before, * 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, ir_node *block, +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); -- 2.20.1