- return get_opt_optimize();
-}
-
-void set_opt_inline(int value)
-{
- if (value)
- libFIRM_opt |= OPT_INLINE;
- else
- libFIRM_opt &= ~OPT_INLINE;
-}
-
-/** Enable/Disable optimization of dynamic method dispatch
- *
- * This flag enables/disables the optimization of dynamic method dispatch.
- * If the flag is turned on Sel nodes can be replaced by Const nodes representing
- * the address of a function.
- */
-void set_opt_dyn_meth_dispatch (int value)
-{
- if (value)
- libFIRM_opt |= OPT_DYN_METH_DISPATCH;
- else
- libFIRM_opt &= ~OPT_DYN_METH_DISPATCH;
-}
-
-void set_opt_normalize(int value)
-{
- if (value)
- libFIRM_opt |= OPT_NORMALIZE;
- else
- libFIRM_opt &= ~OPT_NORMALIZE;