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
585313e4
Commit
585313e4
authored
Apr 09, 2010
by
Matthias Braun
Browse files
another case fo missing statistics/missing outedge invalidation in confirm construction
[r27366]
parent
a6b6c1a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/irconsconfirm.c
View file @
585313e4
...
...
@@ -214,6 +214,7 @@ static void handle_modeb(ir_node *block, ir_node *selector, pn_Cond pnc, env_t *
if
(
c_b
==
NULL
)
{
ir_node
*
c_true
=
new_Const
(
tarval_b_true
);
ir_node
*
c_false
=
new_Const
(
tarval_b_false
);
env
->
num_consts
+=
2
;
if
(
pnc
==
pn_Cond_true
)
{
c_b
=
c_true
;
c_o
=
c_false
;
...
...
@@ -232,6 +233,7 @@ static void handle_modeb(ir_node *block, ir_node *selector, pn_Cond pnc, env_t *
}
phi
=
new_r_Phi
(
user_blk
,
n
,
in
,
mode_b
);
set_irn_n
(
user
,
pos
,
phi
);
env
->
num_eq
+=
1
;
}
}
}
...
...
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