Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
5bc78d88
Commit
5bc78d88
authored
Apr 13, 2011
by
Matthias Braun
Browse files
remove r_keep_alive and let keep_alive decide irg based on the node
parent
78bac126
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/ircons.h
View file @
5bc78d88
...
...
@@ -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 --- */
...
...
ir/ir/ircons.c
View file @
5bc78d88
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment