added missing include
[libfirm] / ir / ir / irflag_t.h
index 7e14ac9..93e893d 100644 (file)
@@ -92,6 +92,9 @@ typedef enum {
   /** Optimize Fragile OPs */
   OPT_FRAGILE_OPS                        = 0x00080000,
 
+       /** If conversion. */
+       OPT_IF_CONVERSION                      = 0x00100000,
+
   /** Turn off all optimizations. */
   OPT_OPTIMIZED                          = 0x40000000,
 
@@ -219,7 +222,7 @@ static INLINE int get_opt_inline(void)
   return libFIRM_opt & OPT_INLINE;
 }
 
-static INLINE int get_opt_dyn_meth_dispatch(void)
+static INLINE int _get_opt_dyn_meth_dispatch(void)
 {
   return libFIRM_opt & OPT_DYN_METH_DISPATCH;
 }
@@ -253,8 +256,15 @@ static INLINE int get_opt_fragile_ops(void)
   return libFIRM_opt & OPT_FRAGILE_OPS;
 }
 
+/** Returns if conversion setting. */
+static INLINE int get_opt_if_conversion(void)
+{
+  return libFIRM_opt & OPT_IF_CONVERSION;
+}
+
 
-#define get_opt_cse()          _get_opt_cse()
-#define get_firm_verbosity()   _get_firm_verbosity()
+#define get_opt_cse()                 _get_opt_cse()
+#define get_firm_verbosity()          _get_firm_verbosity()
+#define get_opt_dyn_meth_dispatch()   _get_opt_dyn_meth_dispatch()
 
 #endif /* _IRFLAG_T_H_ */