summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-09-22 16:07:33 +0200
committerMatthias Braun <matze@braunis.de>2010-09-22 16:07:33 +0200
commitad9464a5db0b98cb926aae609abe84db70b74291 (patch)
tree280d1c764fba75c8780b2ce30b8db586d673321c /ir/be/beirg.h
parentfca4a7571e9936920b4a116317826f796789cb15 (diff)
eliminate the unnecessary and especially confusing concept of a 'code_generator' an isa-interface is enough
[r28009]
Diffstat (limited to 'ir/be/beirg.h')
-rw-r--r--ir/be/beirg.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/ir/be/beirg.h b/ir/be/beirg.h
index 881a426..6f3360f 100644
--- a/ir/be/beirg.h
+++ b/ir/be/beirg.h
@@ -78,7 +78,6 @@ typedef struct be_irg_t {
ir_graph *irg;
be_main_env_t *main_env;
be_abi_irg_t *abi;
- arch_code_generator_t *cg;
ir_exec_freq *exec_freq;
be_dom_front_info_t *dom_front;
be_lv_t *lv;
@@ -87,8 +86,9 @@ typedef struct be_irg_t {
nodes. */
struct obstack obst; /**< birg obstack (mainly used to keep
register constraints which we can't keep
- in the irg obst, because it gets replace
+ in the irg obst, because it gets replaced
during code selection) */
+ void *isa_link; /**< architecture specific per-graph data*/
} be_irg_t;
static inline be_irg_t *be_birg_from_irg(const ir_graph *irg)
@@ -131,11 +131,6 @@ static inline be_options_t *be_get_irg_options(const ir_graph *irg)
return be_birg_from_irg(irg)->main_env->options;
}
-static inline arch_code_generator_t *be_get_irg_cg(const ir_graph *irg)
-{
- return be_birg_from_irg(irg)->cg;
-}
-
/** deprecated */
static inline ir_graph *be_get_birg_irg(const be_irg_t *birg)
{