projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check the sorted bb list for missing returns
[fw/sdcc]
/
src
/
SDCCopt.c
diff --git
a/src/SDCCopt.c
b/src/SDCCopt.c
index 33c226d334bc4d508a06fd30ab31b40c71017766..899e319921ab0efba7c6019726e22cf176041fec 100644
(file)
--- a/
src/SDCCopt.c
+++ b/
src/SDCCopt.c
@@
-886,6
+886,9
@@
eBBlockFromiCode (iCode * ic)
}
}
+ /* sort it back by block number */
+ qsort (ebbs, saveCount, sizeof (eBBlock *), bbNumCompare);
+
if (!options.lessPedantic) {
// this is a good place to check missing return values
if (currFunc) {
if (!options.lessPedantic) {
// this is a good place to check missing return values
if (currFunc) {
@@
-903,9
+906,6
@@
eBBlockFromiCode (iCode * ic)
}
}
}
}
- /* sort it back by block number */
- qsort (ebbs, saveCount, sizeof (eBBlock *), bbNumCompare);
-
/* if cyclomatic info requested then print it */
if (options.cyclomatic)
printCyclomatic (ebbs, saveCount);
/* if cyclomatic info requested then print it */
if (options.cyclomatic)
printCyclomatic (ebbs, saveCount);