Added call serialization for firm arch
[libfirm] / ir / be / bearch.h
index 09397c8..122ce48 100644 (file)
@@ -196,6 +196,7 @@ typedef enum _arch_irn_class_t {
   arch_irn_class_branch
 } arch_irn_class_t;
 
+
 /*
  * Some words about positions and indices:
  *
@@ -304,6 +305,7 @@ struct _arch_irn_ops_t {
    */
   arch_irn_class_t (*classify)(const arch_irn_ops_t *self, const ir_node *irn);
 
+
 };
 
 /**
@@ -440,6 +442,13 @@ struct _arch_isa_if_t {
    */
   const arch_register_class_t *(*get_reg_class)(int i);
 
+       /**
+        * Prepare a graph.
+        * This function is called each time, the backend starts running over
+        * a graph.
+        * @param irg The graph.
+        */
+       void (*prepare_graph)(ir_graph *irg);
 };
 
 #define ARCH_MAX_HANDLERS         8