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
46abb3b3
Commit
46abb3b3
authored
Mar 24, 2006
by
Sebastian Hack
Browse files
Creating Bads instead of Unknowns
parent
b3d85f8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beirgmod.c
View file @
46abb3b3
...
...
@@ -264,7 +264,7 @@ static ir_node *search_def(ir_node *usage, int pos, pset *copies, pset *copy_blo
ir_node
**
ins
=
xmalloc
(
n_preds
*
sizeof
(
ins
[
0
]));
for
(
i
=
0
;
i
<
n_preds
;
++
i
)
ins
[
i
]
=
new_r_
Unknown
(
irg
,
mode
);
ins
[
i
]
=
new_r_
Bad
(
irg
);
phi
=
new_r_Phi
(
irg
,
curr_bl
,
n_preds
,
ins
,
mode
);
DBG
((
dbg
,
LEVEL_2
,
"
\t
creating phi %+F in %+F
\n
"
,
phi
,
curr_bl
));
...
...
Write
Preview
Supports
Markdown
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