Added exception markings to graph and cfg dumps --flo
[libfirm] / ir / ir / irflag.c
index 2bdd319..18619b2 100644 (file)
@@ -22,6 +22,7 @@ int opt_global_cse = 0;             /* Don't use block predecessor for compariso
 /* @@@ 0 solage code placement fehlt */
 int opt_constant_folding = 1;       /* Evaluate operations */
 int opt_unreachable_code = 1;       /* Bad node propagation */
+int opt_control_flow = 1;           /* control flow optimizations. */
 int opt_dead_node_elimination = 1;  /* Reclaim memory */
 int opt_reassociation = 1;          /* Reassociate nodes */
 int opt_inline = 1;                 /* Do inlining transformation */
@@ -73,6 +74,14 @@ get_opt_unreachable_code(void)
   return opt_unreachable_code;
 }
 
+inline void set_opt_control_flow(int value) {
+  opt_control_flow = value;
+}
+
+inline int  get_opt_control_flow(void) {
+  return opt_control_flow;
+}
+
 inline void
 set_opt_reassociation(int value)
 {