remove irsimpletype stuff (unused/broken)
[libfirm] / ir / be / beirg.h
index 57f4af6..6f3360f 100644 (file)
@@ -78,15 +78,17 @@ 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;
        be_stack_layout_t      stack_layout;
+       arch_register_req_t   *sp_req; /**< requirements for stackpointer producing
+                                           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)
@@ -129,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)
 {