projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5faaf89
)
Remove write-only variable.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 15 Nov 2008 17:44:20 +0000
(17:44 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 15 Nov 2008 17:44:20 +0000
(17:44 +0000)
[r23689]
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
0679d60
..
781b2ad
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-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 {
* 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;
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));
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);
/* dump global type */
env.section = (be_gas_section_t) -1;
be_gas_dump_globals(get_glob_type(), &env, only_emit_marked_entities);