Remove the attribute const arch_env_t *arch_env from struct ia32_code_gen_t. We...
[libfirm] / ir / be / beabi.c
index 00c7380..738d7f9 100644 (file)
@@ -23,9 +23,7 @@
  * @author      Sebastian Hack, Michael Beck
  * @version     $Id$
  */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
 
 #include "obst.h"
 #include "offset.h"
@@ -2306,7 +2304,6 @@ typedef ir_node **node_array;
 
 typedef struct fix_stack_walker_env_t {
        node_array sp_nodes;
-       const arch_env_t *arch_env;
 } fix_stack_walker_env_t;
 
 /**
@@ -2332,7 +2329,6 @@ void be_abi_fix_stack_nodes(be_abi_irg_t *env)
        fix_stack_walker_env_t walker_env;
 
        walker_env.sp_nodes = NEW_ARR_F(ir_node*, 0);
-       walker_env.arch_env = birg->main_env->arch_env;
 
        irg_walk_graph(birg->irg, collect_stack_nodes_walker, NULL, &walker_env);