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
7152d625
Commit
7152d625
authored
Jun 01, 2011
by
Christoph Mallon
Browse files
Reduce code duplication: Implement set_cur_block() by calling set_r_cur_block().
parent
f0db3da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/ircons.c
View file @
7152d625
...
...
@@ -552,8 +552,7 @@ void add_immBlock_pred(ir_node *block, ir_node *jmp)
void
set_cur_block
(
ir_node
*
target
)
{
assert
(
target
==
NULL
||
current_ir_graph
==
get_irn_irg
(
target
));
current_ir_graph
->
current_block
=
target
;
set_r_cur_block
(
current_ir_graph
,
target
);
}
void
set_r_cur_block
(
ir_graph
*
irg
,
ir_node
*
target
)
...
...
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