Directly remember the pointer instead of an index to reconstruct the pointer.
[libfirm] / ir / be / bessaconstr.h
index 3182a88..a2e404e 100644 (file)
 #include "pdeq.h"
 
 typedef struct be_ssa_construction_env_t {
-       ir_graph                  *irg;
-       const be_dom_front_info_t *domfronts;
-       ir_mode                   *mode;
-       waitq                     *worklist;
-       const ir_nodeset_t        *ignore_uses;
-       ir_node                   **new_phis;
-       int                       iterated_domfront_calculated;
-       int                       min_dom;
-       int                       max_dom;
+       ir_graph                    *irg;
+       const be_dom_front_info_t   *domfronts;
+       ir_mode                     *mode;
+       const arch_register_class_t *phi_cls;
+       waitq                       *worklist;
+       const ir_nodeset_t          *ignore_uses;
+       ir_node                    **new_phis;
+       int                          iterated_domfront_calculated;
 } be_ssa_construction_env_t;
 
 /**
  * Initializes an SSA construction environment.
  *
  * @param env    an SSA empty construction environment
- * @param birg
+ * @param irg    the graph
  */
-void be_ssa_construction_init(be_ssa_construction_env_t *env, be_irg_t *birg);
+void be_ssa_construction_init(be_ssa_construction_env_t *env, ir_graph *irg);
 
 void be_ssa_construction_add_copy(be_ssa_construction_env_t *env,
                                   ir_node *value);