projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/SDCCBBlock.c (iCodeBreakDown): fixed bug #1170212
[fw/sdcc]
/
src
/
SDCCBBlock.c
diff --git
a/src/SDCCBBlock.c
b/src/SDCCBBlock.c
index 1156434e59f5d056fd2c92fd7d09540ccb40cc7b..b84511a5174fcd7e19154aca7b1bf1b7a065c3da 100644
(file)
--- a/
src/SDCCBBlock.c
+++ b/
src/SDCCBBlock.c
@@
-518,13
+518,13
@@
iCodeBreakDown (iCode * ic)
iCode *loop = ic;
ebbIndex *ebbi;
iCode *loop = ic;
ebbIndex *ebbi;
- ebbi = Safe_alloc (sizeof (ebbIndex
*
));
+ ebbi = Safe_alloc (sizeof (ebbIndex));
ebbi->count = 0;
ebbi->dfOrder = NULL; /* no depth first order information yet */
/* allocate for the first entry */
ebbi->count = 0;
ebbi->dfOrder = NULL; /* no depth first order information yet */
/* allocate for the first entry */
- ebbs = Safe_alloc (sizeof (eBBlock *
*
));
+ ebbs = Safe_alloc (sizeof (eBBlock *));
ebbi->bbOrder = ebbs;
while (loop)
ebbi->bbOrder = ebbs;
while (loop)
@@
-544,7
+544,7
@@
iCodeBreakDown (iCode * ic)
/* allocate for the next one. Remember to clear the new */
/* pointer at the end, that was created by realloc. */
/* allocate for the next one. Remember to clear the new */
/* pointer at the end, that was created by realloc. */
- ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock *
*
));
+ ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock *));
ebbi->bbOrder = ebbs;
ebbs[ebbi->count] = 0;
ebbi->bbOrder = ebbs;
ebbs[ebbi->count] = 0;
@@
-589,7
+589,7
@@
iCodeBreakDown (iCode * ic)
/* if we have stopped at the block , allocate for an extra one */
/* if we have stopped at the block , allocate for an extra one */
- ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock *
*
));
+ ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock *));
ebbi->bbOrder = ebbs;
ebbs[ebbi->count] = 0;
ebbi->bbOrder = ebbs;
ebbs[ebbi->count] = 0;