summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 10:01:17 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 11:01:32 +0100
commitc10470321586f38dcb369087e19ca5614cfb3e8e (patch)
tree7fd2896ad275c65658de57595b2c9bd78ff55de3 /ir/be/beirg.h
parentdab5986ff7e9f46e34439feabae8ae97c72730c5 (diff)
beabi: Pass be_abi_irg_t around locally instead of storing it in be_irg_t.
Diffstat (limited to 'ir/be/beirg.h')
-rw-r--r--ir/be/beirg.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/ir/be/beirg.h b/ir/be/beirg.h
index 9c98fd9..a18af14 100644
--- a/ir/be/beirg.h
+++ b/ir/be/beirg.h
@@ -81,7 +81,6 @@ struct be_stack_layout_t {
*/
typedef struct be_irg_t {
be_main_env_t *main_env;
- be_abi_irg_t *abi;
be_lv_t *lv;
be_stack_layout_t stack_layout;
unsigned *allocatable_regs; /**< registers available for the
@@ -110,16 +109,6 @@ static inline be_lv_t *be_get_irg_liveness(const ir_graph *irg)
return be_birg_from_irg(irg)->lv;
}
-static inline be_abi_irg_t *be_get_irg_abi(const ir_graph *irg)
-{
- return be_birg_from_irg(irg)->abi;
-}
-
-static inline void be_set_irg_abi(ir_graph *irg, be_abi_irg_t *abi)
-{
- be_birg_from_irg(irg)->abi = abi;
-}
-
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;