summaryrefslogtreecommitdiffhomepage
path: root/ir/be/target.c
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2017-02-24 16:49:39 +0100
committerAndreas Fried <andreas.fried@kit.edu>2017-03-24 10:14:18 +0100
commit74f45455361a9066cef41be258caa9393e7baba6 (patch)
treec402482d246ee2853c78fee3ac4fe3e2c96ea849 /ir/be/target.c
parent086f68d77f607fe7117e4aca1730a537d34f28ea (diff)
Re-add function to query float_int_overflow_style for jFirm compatibility.
Diffstat (limited to 'ir/be/target.c')
-rw-r--r--ir/be/target.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/target.c b/ir/be/target.c
index 7b98000..62cb06c 100644
--- a/ir/be/target.c
+++ b/ir/be/target.c
@@ -158,3 +158,9 @@ ir_mode *ir_target_float_arithmetic_mode(void)
assert(ir_target.isa_initialized);
return ir_target.mode_float_arithmetic;
}
+
+float_int_conversion_overflow_style_t ir_target_float_int_overflow_style(void)
+{
+ assert(ir_target.isa_initialized);
+ return ir_target.float_int_overflow;
+}