summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaximilian Stemmer-Grabow <mail@mxsg.de>2021-05-27 16:24:03 +0200
committerAndreas Fried <andreas.fried@kit.edu>2021-12-02 12:57:28 +0100
commit9d5b6686e82f439cff1ac8d97821d45804a90036 (patch)
treec876ae26c9d73eb72df7fc021e5237307dc9b0fd
parente8b3b07b54721042b0b7d5683765e433cb091c23 (diff)
Adjust const qualifiers
-rw-r--r--ir/be/riscv/riscv_compression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/riscv/riscv_compression.c b/ir/be/riscv/riscv_compression.c
index 6745fa7..2fea9dc 100644
--- a/ir/be/riscv/riscv_compression.c
+++ b/ir/be/riscv/riscv_compression.c
@@ -184,7 +184,7 @@ static bool riscv_register_is_compressible(const arch_register_t *const reg)
return reg->is_compressible;
}
-static bool riscv_is_2addr_form(ir_node const *const node)
+static bool riscv_is_2addr_form(const ir_node *const node)
{
const arch_register_t *rs1 = arch_get_irn_register_in(node, 0);
// const arch_register_t *rs2 = arch_get_irn_register_in(node, 1);