updated header
[libfirm] / ir / be / mips / mips_emitter.h
index 86c4133..7ff5e38 100644 (file)
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
 #ifndef _mips_EMITTER_H_
 #define _mips_EMITTER_H_
 
 #include "irnode.h"
 #include "debug.h"
 
-#include "../bearch.h"
+#include "../bearch_t.h"
 
 #include "bearch_mips_t.h"
 
 typedef struct _mips_emit_env_t {
-       firm_dbg_module_t         *mod;
        FILE                      *out;
        const arch_env_t          *arch_env;
        const mips_code_gen_t *cg;
+       DEBUG_ONLY(firm_dbg_module_t *mod;)
 } mips_emit_env_t;
 
 const lc_arg_env_t *mips_get_arg_env(void);