projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/SDCCcse.c (algebraicOpts): fix bug converting op from value to type
[fw/sdcc]
/
src
/
SDCCcflow.c
diff --git
a/src/SDCCcflow.c
b/src/SDCCcflow.c
index 95bce8b09e3d6e42a3cbedfd8deb57cf127e14bf..e3befba85b65249664df21bdf03121b9aa48e650 100644
(file)
--- a/
src/SDCCcflow.c
+++ b/
src/SDCCcflow.c
@@
-133,13
+133,8
@@
eBBSuccessors (eBBlock ** ebbs, int count)
}
else
{
}
else
{
- int j=i;
- while (j--) {
- if (ebbs[j]->ech && ebbs[j]->ech->op==IFX &&
- (isSymbolEqual(IC_TRUE(ebbs[j]->ech), ebbs[i]->entryLabel) ||
- isSymbolEqual(IC_FALSE(ebbs[j]->ech), ebbs[i]->entryLabel))) {
- ebbs[i]->hasConditionalExit=1;
- }
+ if (i && ebbs[i-1]->ech && ebbs[i-1]->ech->op==IFX) {
+ ebbs[i]->isConditionalExitFrom=ebbs[i-1];
}
}
} /* no instructions in the block */
}
}
} /* no instructions in the block */