summaryrefslogtreecommitdiffhomepage
path: root/ir/tv
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2015-06-05 18:35:34 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2015-06-05 18:55:03 +0200
commitf9aca7aa9cff4854c2375ec9e09ab3b0643956e2 (patch)
treeb0083fafacf249484fcf5090932b209dea726acb /ir/tv
parent84fcb507329f850030295a80295a2994bceebd25 (diff)
Constify mode parameter.
Diffstat (limited to 'ir/tv')
-rw-r--r--ir/tv/tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/tv/tv.c b/ir/tv/tv.c
index 48822ca..04cf9fa 100644
--- a/ir/tv/tv.c
+++ b/ir/tv/tv.c
@@ -1312,7 +1312,7 @@ int tarval_get_exponent(const ir_tarval *tv)
return fc_get_exponent((const fp_value*) tv->value);
}
-int tarval_ieee754_can_conv_lossless(const ir_tarval *tv, ir_mode *mode)
+int tarval_ieee754_can_conv_lossless(const ir_tarval *tv, const ir_mode *mode)
{
const float_descriptor_t *desc = get_descriptor(mode);
return fc_can_lossless_conv_to((const fp_value*) tv->value, desc);