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
21fe424c
Commit
21fe424c
authored
Jun 11, 2013
by
Matthias Braun
Browse files
fix incorrect usage of current_ir_graph
parent
0d4ae28c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
21fe424c
...
...
@@ -756,7 +756,8 @@ static ia32_condition_code_t determine_final_cc(const ir_node *node,
if
(
is_ia32_Sahf
(
flags
))
{
ir_node
*
cmp
=
get_irn_n
(
flags
,
n_ia32_Sahf_val
);
if
(
!
(
is_ia32_FucomFnstsw
(
cmp
)
||
is_ia32_FucomppFnstsw
(
cmp
)
||
is_ia32_FtstFnstsw
(
cmp
)))
{
inc_irg_visited
(
current_ir_graph
);
ir_graph
*
irg
=
get_irn_irg
(
node
);
inc_irg_visited
(
irg
);
cmp
=
find_original_value
(
cmp
);
assert
(
cmp
!=
NULL
);
assert
(
is_ia32_FucomFnstsw
(
cmp
)
||
is_ia32_FucomppFnstsw
(
cmp
)
||
is_ia32_FtstFnstsw
(
cmp
));
...
...
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