same fix again on another place
[libfirm] / ir / ir / irflag_t.def
index dfc009a..7283319 100644 (file)
  * @version   $Id$
  */
 
+/*
+ * We have 3 kinds of flags:
+ * I_FLAGS are INTERNAL flags: The is only a public set_opt_<flag> function
+ * E_FLAGS are EXTERNAL flags: Public get_opt_<flag> and set_opt_<flag> fucntions exists
+ * R_FLAGS are RUNNING flags: Use only internally in libfirm to indicate running states
+ */
+
 /** Turn off all optimizations. */
 I_FLAG(optimize                           , 0, ON)
 
@@ -116,3 +123,11 @@ I_FLAG(alias_analysis                     , 28, ON)
 
 /** Closed world assumption. */
 I_FLAG(closed_world                       , 31, OFF)
+
+/* -------------------- RUNNING flags ------------------- */
+
+/** This flag is set while the reassociation optimizations are running */
+R_FLAG(reassoc                            , 0)
+
+/** This flag is set while architecture dependent optimizations are running */
+R_FLAG(arch_dep                           , 0)