Marginally reduce the number of calls to arch_get_irn_reg_class().
[libfirm] / ir / be / ia32 / ia32_x87.h
index 7e51ea5..44aeeb2 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.
  *
  */
 
 /**
- * This file implements the x87 support and virtual to stack
- * register translation.
- *
- * $Id$
+ * @file
+ * @brief       This file implements the x87 support and virtual to stack
+ *              register translation for the ia32 backend.
+ * @author      Michael Beck
+ * @version     $Id$
  */
-#ifndef _IA32_X87_H_
-#define _IA32_X87_H_
+#ifndef FIRM_BE_IA32_IA32_X87_H
+#define FIRM_BE_IA32_IA32_X87_H
 
-#include "../bearch_t.h"
+#include "../bearch.h"
+#include "../beirg.h"
 
 /**
  * Run a simulation and fix all virtual instructions for a graph.
  * Replaces all virtual floating point instructions and registers
  * by real ones.
  *
- * @param env       architecture environment
  * @param birg      the graph to simulate and patch
  *
- * Registers must be allocated.                Needs a block-schedule.
+ * Registers must be allocated.
  */
-void x87_simulate_graph(const arch_env_t *env, be_irg_t *birg);
+void x87_simulate_graph(be_irg_t *birg);
 
-#endif /* _IA32_X87_H_ */
+#endif /* FIRM_BE_IA32_IA32_X87_H */