Commit 5bc78d88 authored by Matthias Braun's avatar Matthias Braun
Browse files

remove r_keep_alive and let keep_alive decide irg based on the node

parent 78bac126
......@@ -1726,7 +1726,6 @@ FIRM_API void set_r_store(ir_graph *irg, ir_node *store);
* @param ka The node to keep alive.
FIRM_API void keep_alive(ir_node *ka);
FIRM_API void r_keep_alive(ir_graph *irg, ir_node *ka);
/* --- initialize and finalize IR construction --- */
......@@ -716,14 +716,10 @@ void set_store(ir_node *store)
set_r_store(current_ir_graph, store);
void r_keep_alive(ir_graph *irg, ir_node *ka)
add_End_keepalive(get_irg_end(irg), ka);
void keep_alive(ir_node *ka)
r_keep_alive(current_ir_graph, ka);
ir_graph *irg = get_irn_irg(ka);
add_End_keepalive(get_irg_end(irg), ka);
void ir_set_uninitialized_local_variable_func(
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