projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b0e3f4
)
Remove the unused attribute const arch_env_t *arch_env from struct regpressure_ana_t.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 11 Oct 2008 19:54:13 +0000
(19:54 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 11 Oct 2008 19:54:13 +0000
(19:54 +0000)
[r22735]
ir/be/bepressurestat.c
patch
|
blob
|
history
diff --git
a/ir/be/bepressurestat.c
b/ir/be/bepressurestat.c
index
111007d
..
d3498ab
100644
(file)
--- a/
ir/be/bepressurestat.c
+++ b/
ir/be/bepressurestat.c
@@
-61,7
+61,6
@@
#define MAXPRESSURE 128
typedef struct _regpressure_ana_t {
- arch_env_t *arch_env;
const arch_register_class_t *cls;
const be_lv_t *lv;
unsigned int *stat;
@@
-134,10
+133,9
@@
void be_analyze_regpressure(be_irg_t *birg, const arch_register_class_t *cls, co
FIRM_DBG_REGISTER(ra.dbg, "firm.be.regpressureana");
- ra.arch_env = birg->main_env->arch_env;
- ra.lv = be_get_birg_liveness(birg);
- ra.cls = cls;
- ra.stat = stat;
+ ra.lv = be_get_birg_liveness(birg);
+ ra.cls = cls;
+ ra.stat = stat;
memset(stat, 0, sizeof(stat));