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
0ecad8a6
Commit
0ecad8a6
authored
Oct 02, 2008
by
Michael Beck
Browse files
- BugFix: ensure, that no self-loops are constructed (this work-aound might be too restrictive)
- typos fixed [r22413]
parent
960d88fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/irconsconfirm.c
View file @
0ecad8a6
...
...
@@ -415,7 +415,7 @@ static void insert_Confirm_in_block(ir_node *block, void *env) {
}
/* insert_Confirm_in_block */
/**
* The given will be dereferenced, add non-null
c
onfirms.
* The given
pointer
will be dereferenced, add non-null
C
onfirms.
*
* @param ptr a node representing an address
* @param block the block of the dereferencing instruction
...
...
@@ -431,6 +431,11 @@ static void insert_non_null(ir_node *ptr, ir_node *block, env_t *env) {
ir_node
*
blk
;
if
(
is_Confirm
(
succ
))
{
/* beware of loops */
continue
;
}
if
((
is_Load
(
succ
)
||
is_Store
(
succ
))
&&
get_nodes_block
(
succ
)
==
block
)
{
/* Ignore Loads and Store in the same block for now,
...
...
@@ -571,7 +576,7 @@ static void rem_Confirm(ir_node *n, void *env) {
exchange(n, value);
else {
/*
* Strange: a Confirm is it
'
s own bound. This can happen
* Strange: a Confirm is its own bound. This can happen
* in dead blocks when Phi nodes are already removed.
*/
exchange(n, new_Bad());
...
...
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