From 0a42a8ce5c249f1e850b18d962d2cd9a3ec29fd0 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 24 Nov 2012 12:01:00 +0100 Subject: [PATCH] beabi: Remove the unused function be_abi_call_set_call_address_reg_class(). --- ir/be/beabi.c | 7 ------- ir/be/beabi.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/ir/be/beabi.c b/ir/be/beabi.c index d77d8bffd..ddf297982 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -210,13 +210,6 @@ void be_abi_call_set_pop(be_abi_call_t *call, int pop) call->pop = pop; } -/* Set register class for call address */ -void be_abi_call_set_call_address_reg_class(be_abi_call_t *call, const arch_register_class_t *cls) -{ - call->cls_addr = cls; -} - - void be_abi_call_param_stack(be_abi_call_t *call, int arg_pos, ir_mode *load_mode, unsigned alignment, unsigned space_before, unsigned space_after, diff --git a/ir/be/beabi.h b/ir/be/beabi.h index 9b612ce9f..3e671116e 100644 --- a/ir/be/beabi.h +++ b/ir/be/beabi.h @@ -66,13 +66,6 @@ void be_abi_call_set_flags(be_abi_call_t *call, be_abi_call_flags_t flags, const */ void be_abi_call_set_pop(be_abi_call_t *call, int pop); -/** - * Set register class for call address. - * @param call The call. - * @param cls The register class for call address. - */ -void be_abi_call_set_call_address_reg_class(be_abi_call_t *call, const arch_register_class_t *cls); - /** * The ABI can change when we call a function vs. when we have * been called. -- 2.20.1