From 618eeb1750a43d2114916fa208ea2007d2facf56 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 18 Oct 2004 10:57:06 +0000 Subject: [PATCH] added get_opt_fragile_ops() [r4138] --- ir/ir/irflag_t.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ir/ir/irflag_t.h b/ir/ir/irflag_t.h index 2b18953b0..05f12ff99 100644 --- a/ir/ir/irflag_t.h +++ b/ir/ir/irflag_t.h @@ -87,6 +87,9 @@ typedef enum { /** Optimize Loads and Stores */ OPT_REDUNDANT_LOADSTORE = 0x00040000, + /** Optimize Fragile OPs */ + OPT_FRAGILE_OPS = 0x00080000, + /** Turn off all optimizations. */ OPT_OPTIMIZED = 0x40000000, @@ -231,6 +234,11 @@ static INLINE int get_opt_precise_exc_context(void) return libFIRM_opt & OPT_PRECISE_EXC_CONTEXT; } +/** Returns fragile ops setting. */ +static INLINE int get_opt_fragile_ops(void) +{ + return libFIRM_opt & OPT_FRAGILE_OPS; +} #define get_opt_cse() _get_opt_cse() -- 2.20.1