renamed functions to clarify its usage
[libfirm] / ir / ir / irflag_t.h
index 92041a1..478024f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -20,7 +20,7 @@
 /**
  * @file
  * @brief    Flags to control optimizations, inline implementation.
- * @author   Michael Beck
+ * @author   Michael Beck, Sebastian Hack
  * @version  $Id$
  */
 #ifndef FIRM_IR_IRFLAG_T_H
@@ -58,7 +58,7 @@ typedef enum {
 #undef I_FLAG
 #undef E_FLAG
 #undef R_FLAG
-} libfirm_opts_t;
+} libfirm_running_t;
 
 extern optimization_state_t libFIRM_opt, libFIRM_running, libFIRM_verb;
 extern firm_verification_t opt_do_node_verification;
@@ -102,17 +102,17 @@ static INLINE void set_##name##_running(int flag) {\
 #undef E_FLAG
 #undef R_FLAG
 
-static INLINE int _get_firm_verbosity (void) {
+static INLINE int _get_firm_verbosity(void) {
        return firm_verbosity_level;
 }
 
-static INLINE int _get_optimize (void) {
-  return get_opt_optimize();
+static INLINE int _get_optimize(void) {
+       return get_opt_optimize();
 }
 
 static INLINE firm_verification_t
 get_node_verification_mode(void) {
-  return opt_do_node_verification;
+       return opt_do_node_verification;
 }
 
 #define get_optimize()                           _get_optimize()