besched: Add and use sched_replace().
[libfirm] / include / libfirm / irop.h
index 32891a3..42d1d5a 100644 (file)
@@ -256,6 +256,8 @@ typedef struct {
        verify_proj_node_func verify_proj_node;     /**< Verify the Proj node. */
        dump_node_func        dump_node;            /**< Dump a node. */
        op_func               generic;              /**< A generic function pointer. */
+       op_func               generic1;             /**< A generic function pointer. */
+       op_func               generic2;             /**< A generic function pointer. */
        const arch_irn_ops_t *be_ops;               /**< callbacks used by the backend. */
 } ir_op_ops;
 
@@ -307,7 +309,7 @@ FIRM_API void ir_op_set_fragile_indices(ir_op *op, int pn_x_regular,
                                         int pn_x_except);
 
 /** Returns the ir_op_ops of an ir_op. */
-FIRM_API const ir_op_ops *get_op_ops(const ir_op *op);
+FIRM_API ir_op_ops *get_op_ops(ir_op *op);
 
 /** @} */