summaryrefslogtreecommitdiffhomepage
path: root/ir/be/ia32
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-09-01 10:31:27 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-09-01 11:40:23 +0200
commitf678458a7625ce220872bb4ae3af9459813cdf97 (patch)
tree6ce1908953dc8eb6d79f993c9f023da3d15ae5ab /ir/be/ia32
parent3f68c9c75ca4f1dbd44cca4095a5da1c6758c63e (diff)
ia32: Remove the unused function clear_ia32_commutative().
It was not used in 10 years.
Diffstat (limited to 'ir/be/ia32')
-rw-r--r--ir/be/ia32/ia32_new_nodes.c6
-rw-r--r--ir/be/ia32/ia32_new_nodes.h5
2 files changed, 0 insertions, 11 deletions
diff --git a/ir/be/ia32/ia32_new_nodes.c b/ir/be/ia32/ia32_new_nodes.c
index 726653c..471e8a8 100644
--- a/ir/be/ia32/ia32_new_nodes.c
+++ b/ir/be/ia32/ia32_new_nodes.c
@@ -398,12 +398,6 @@ void set_ia32_commutative(ir_node *node)
attr->is_commutative = 1;
}
-void clear_ia32_commutative(ir_node *node)
-{
- ia32_attr_t *const attr = get_ia32_attr(node);
- attr->is_commutative = 0;
-}
-
int is_ia32_commutative(const ir_node *node)
{
const ia32_attr_t *attr = get_ia32_attr_const(node);
diff --git a/ir/be/ia32/ia32_new_nodes.h b/ir/be/ia32/ia32_new_nodes.h
index 1c906e7..a7b0fae 100644
--- a/ir/be/ia32/ia32_new_nodes.h
+++ b/ir/be/ia32/ia32_new_nodes.h
@@ -106,11 +106,6 @@ void ia32_copy_am_attrs(ir_node *to, const ir_node *from);
void set_ia32_commutative(ir_node *node);
/**
- * Sets node to non-commutative.
- */
-void clear_ia32_commutative(ir_node *node);
-
-/**
* Checks if node is commutative.
*/
int is_ia32_commutative(const ir_node *node);