summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 08:59:00 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 11:01:32 +0100
commitb7da5294a8e35f299bf6651d1844c145dfe5c96f (patch)
treed7db9df97675521092e5e518665bdcda2b0e7ee4 /ir/be/beirg.h
parentd4bc900892040b16675c0740cd154bcb72e1175f (diff)
be: Remove the irg from the birg.
There was only one user of this information left, which is changed to directly use irgs.
Diffstat (limited to 'ir/be/beirg.h')
-rw-r--r--ir/be/beirg.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ir/be/beirg.h b/ir/be/beirg.h
index 3be9065..9c98fd9 100644
--- a/ir/be/beirg.h
+++ b/ir/be/beirg.h
@@ -80,7 +80,6 @@ struct be_stack_layout_t {
* backend structures
*/
typedef struct be_irg_t {
- ir_graph *irg;
be_main_env_t *main_env;
be_abi_irg_t *abi;
be_lv_t *lv;
@@ -121,12 +120,6 @@ static inline void be_set_irg_abi(ir_graph *irg, be_abi_irg_t *abi)
be_birg_from_irg(irg)->abi = abi;
}
-/** deprecated */
-static inline ir_graph *be_get_birg_irg(const be_irg_t *birg)
-{
- return birg->irg;
-}
-
static inline const arch_env_t *be_get_irg_arch_env(const ir_graph *irg)
{
return be_birg_from_irg(irg)->main_env->arch_env;