projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bugs in remove_bad_predecessors.
[libfirm]
/
ir
/
ir
/
irflag_t.h
diff --git
a/ir/ir/irflag_t.h
b/ir/ir/irflag_t.h
index
2b18953
..
05f12ff
100644
(file)
--- 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 Loads and Stores */
OPT_REDUNDANT_LOADSTORE = 0x00040000,
+ /** Optimize Fragile OPs */
+ OPT_FRAGILE_OPS = 0x00080000,
+
/** Turn off all optimizations. */
OPT_OPTIMIZED = 0x40000000,
/** 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;
}
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()
#define get_opt_cse() _get_opt_cse()