projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8fdd5e2
)
added get_opt_fragile_ops()
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Oct 2004 10:57:06 +0000
(10:57 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Oct 2004 10:57:06 +0000
(10:57 +0000)
[r4138]
ir/ir/irflag_t.h
patch
|
blob
|
history
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 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()