summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2009-09-17 16:16:20 +0200
committerMatthias Braun <matze@braunis.de>2009-09-17 16:16:20 +0200
commit39cb52264857d7c21c7141ba82bb55adaa78064d (patch)
treeb26cc326a4645ad0b5e2758831b3d629a7da5b4d /ir/be/beirg.c
parent65a677516d45936d113d4170932c52c4b9364891 (diff)
- Bigger refactoring and cleanup in backend:
* benodes store the out register requirements in backend_info now (this is work towards killing the register_requirement callbacks) * ir_graph has a pointer to beirg now * Other cleanups [r26540]
Diffstat (limited to 'ir/be/beirg.c')
-rw-r--r--ir/be/beirg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir/be/beirg.c b/ir/be/beirg.c
index c19bac6..262dadc 100644
--- a/ir/be/beirg.c
+++ b/ir/be/beirg.c
@@ -70,4 +70,7 @@ void be_free_birg(be_irg_t *birg)
be_liveness_free(birg->lv);
birg->lv = NULL;
}
+
+ obstack_free(&birg->obst, NULL);
+ birg->irg->be_data = NULL;
}