simplify logic when x87 simulator is started
[libfirm] / ir / be / bearch.h
index a041ebc..21f11d0 100644 (file)
@@ -1,5 +1,30 @@
-#ifndef FIRM_BEARCH_H
-#define FIRM_BEARCH_H
+/*
+ * 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.
+ */
+
+/**
+ * @file
+ * @brief       Processor architecture specification.
+ * @author      Sebastian Hack
+ * @version     $Id$
+ */
+#ifndef FIRM_BE_BEARCH_H
+#define FIRM_BE_BEARCH_H
 
 #include "firm_types.h"
 #include "bitset.h"
@@ -115,7 +140,7 @@ extern const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env,
 
 extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias);
 
-extern ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn);
+extern ir_entity *arch_get_frame_entity(const arch_env_t *env, const ir_node *irn);
 extern void arch_set_frame_entity(const arch_env_t *env, ir_node *irn, ir_entity *ent);
 extern int arch_get_sp_bias(const arch_env_t *env, ir_node *irn);
 
@@ -268,4 +293,4 @@ extern const arch_irn_handler_t *arch_env_pop_irn_handler(arch_env_t *env);
  */
 void be_register_isa_if(const char *name, const arch_isa_if_t *isa);
 
-#endif
+#endif /* FIRM_BE_BEARCH_H */