summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-06 13:40:34 +0200
committerMatthias Braun <matze@braunis.de>2010-07-06 13:40:34 +0200
commit2589efb23f5c24a341529d4f75d6f5f7eddaba00 (patch)
tree545b72a1089240c255e8904e382d2ae9f64696f9 /ir/be/beirg.h
parent8c9bc8b36959244eaaa2cd8a7ef9569a652054f6 (diff)
remove unnecessary members from be_abi_irg_t structure, cleanup beabi a bit
[r27703]
Diffstat (limited to 'ir/be/beirg.h')
-rw-r--r--ir/be/beirg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/beirg.h b/ir/be/beirg.h
index 0ce62e4..29cbe3b 100644
--- a/ir/be/beirg.h
+++ b/ir/be/beirg.h
@@ -117,6 +117,11 @@ 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 be_options_t *be_get_irg_options(const ir_graph *irg)
{
return be_birg_from_irg(irg)->main_env->options;