summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2015-12-06 10:43:51 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2015-12-07 18:41:48 +0100
commitf9aa81803dacfd6f25e22af5082848163a422511 (patch)
tree4b22de51a9e559a1b9550578294236566637e504 /ir/be/bearch.c
parent670c690e38aa50218ca68e53c77f4ab870f3f54d (diff)
be: Provide a default implementation for the hook 'is_valid_clobber()'.
In particular remove the unnecessary 'sparc_is_valid_clobber()'. The wrapper 'be_is_valid_clobber()' already handles 'memory' and 'cc'.
Diffstat (limited to 'ir/be/bearch.c')
-rw-r--r--ir/be/bearch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/bearch.c b/ir/be/bearch.c
index 962836d..500f279 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -146,6 +146,12 @@ void arch_copy_irn_out_info(ir_node *const dst, unsigned const dst_pos, ir_node
*dst_info = *src_info;
}
+int be_default_is_valid_clobber(char const *const clobber)
+{
+ (void)clobber;
+ return false;
+}
+
BE_REGISTER_MODULE_CONSTRUCTOR(be_init_arch)
void be_init_arch(void)
{