Commit eba762ce authored by Matthias Braun's avatar Matthias Braun
Browse files

make parameter const

parent 265f1d1a
......@@ -294,7 +294,7 @@ FIRM_API void add_End_keepalive(ir_node *end, ir_node *ka);
FIRM_API void set_End_keepalives(ir_node *end, int n, ir_node *in[]);
/** Removes irn from the keep-alive set. */
FIRM_API void remove_End_keepalive(ir_node *end, ir_node *irn);
FIRM_API void remove_End_keepalive(ir_node *end, const ir_node *irn);
/** Removes predecessor (a keepalive) at index @p idx from End node @p end. */
FIRM_API void remove_End_n(ir_node *end, int idx);
......@@ -582,7 +582,7 @@ void remove_End_n(ir_node *n, int idx)
remove_irn_n(n, idx);
void remove_End_keepalive(ir_node *end, ir_node *irn)
void remove_End_keepalive(ir_node *end, const ir_node *irn)
int n = get_End_n_keepalives(end);
int idx = -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment