projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* device/include/pic16/string.h: modified prototype for memccpy()
[fw/sdcc]
/
src
/
pic16
/
ralloc.c
diff --git
a/src/pic16/ralloc.c
b/src/pic16/ralloc.c
index bfeeac608e7f3381765908abf2b47a3b9dfe31c4..58cc571a10d15dc2a8b3a131effe82ae664509d5 100644
(file)
--- a/
src/pic16/ralloc.c
+++ b/
src/pic16/ralloc.c
@@
-4255,6
+4255,9
@@
pic16_assignRegisters (eBBlock ** ebbs, int count)
registers & the type of registers required for each */
regTypeNum ();
+ /* start counting function temporary registers from zero */
+ dynrIdx = 0;
+
/* and serially allocate registers */
serialRegAssign (ebbs, count);