X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firflag_t.h;h=478024f993d43ab0d914e7ce0c6fbfb5d659de0f;hb=a0a72b176b3637fbdf605f9593b23d20947de1fa;hp=92041a15310c30ca40faf6d09ab5eb92f658a802;hpb=969f52a3743dd60803f8fd5122aa8c714d17ae32;p=libfirm diff --git a/ir/ir/irflag_t.h b/ir/ir/irflag_t.h index 92041a153..478024f99 100644 --- a/ir/ir/irflag_t.h +++ b/ir/ir/irflag_t.h @@ -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()