Remove write-only variable.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 15 Nov 2008 17:44:20 +0000 (17:44 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 15 Nov 2008 17:44:20 +0000 (17:44 +0000)
[r23689]

ir/be/begnuas.c

index 0679d60..781b2ad 100644 (file)
@@ -211,7 +211,6 @@ void be_gas_emit_function_epilog(ir_entity *entity)
  * and even there NOT needed. So we might change it in the future.
  */
 typedef struct _be_gas_decl_env {
-       const be_main_env_t *main_env; /**< The main backend environment, used for it's debug handle. */
        be_gas_section_t     section;
        waitq               *worklist;           /**< A worklist we use to place not yet handled entities on. */
 } be_gas_decl_env_t;
@@ -1320,8 +1319,6 @@ void be_gas_emit_decls(const be_main_env_t *main_env,
        be_gas_decl_env_t env;
        memset(&env, 0, sizeof(env));
 
-       env.main_env = main_env;
-
        /* dump global type */
        env.section = (be_gas_section_t) -1;
        be_gas_dump_globals(get_glob_type(), &env, only_emit_marked_entities);