/**
* A callback to pre-transform some nodes before the transformation starts.
*/
-typedef void (arch_pretrans_nodes)(void *arch_cg);
+typedef void (arch_pretrans_nodes)(void);
/**
* The type of a transform function.
*/
void be_duplicate_deps(ir_node *old_node, ir_node *new_node);
+/**
+ * Depend on the frame if the node is in the start block. This prevents
+ * nodes being scheduled before they can be spilled.
+ */
+void be_dep_on_frame(ir_node *node);
+
/**
* Duplicate a node during transformation.
*/
/**
* Transform a graph. Transformers must be registered first.
*/
-void be_transform_graph(be_irg_t *birg, arch_pretrans_nodes *func, void *cg_env);
+void be_transform_graph(be_irg_t *birg, arch_pretrans_nodes *func);
#endif /* FIRM_BE_BETRANSHLP_H */