summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beuses.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-28 17:55:33 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-31 16:34:43 +0100
commit5d6ee901d24e0391f9a939eed88028c330ee3225 (patch)
tree67a5dbf4f73c2042e0c957795586697bd23dab09 /ir/be/beuses.c
parent7952500cd60862c734c215123025f7c1bd7f820f (diff)
beuses: Remove write-only attribute irg from struct be_uses_t.
Diffstat (limited to 'ir/be/beuses.c')
-rw-r--r--ir/be/beuses.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/be/beuses.c b/ir/be/beuses.c
index 032c50c..afbb068 100644
--- a/ir/be/beuses.c
+++ b/ir/be/beuses.c
@@ -49,7 +49,6 @@ typedef struct be_use_t {
*/
struct be_uses_t {
set *uses; /**< cache: contains all computed uses so far. */
- ir_graph *irg; /**< the graph for this environment. */
const be_lv_t *lv; /**< the liveness for the graph. */
ir_visited_t visited_counter; /**< current search counter. */
};
@@ -327,7 +326,6 @@ be_uses_t *be_begin_uses(ir_graph *irg, const be_lv_t *lv)
be_uses_t *env = XMALLOCZ(be_uses_t);
env->uses = new_set(cmp_use, 512);
- env->irg = irg;
env->lv = lv;
return env;