projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More shifting. Remove SDCCralloc.h, made all in mcs51 static,
[fw/sdcc]
/
src
/
SDCCicode.c
diff --git
a/src/SDCCicode.c
b/src/SDCCicode.c
index 733aaa53c7775bda53dd5c4822637c32e560ef82..adfc7307b4a4df18354c5bcbee413fde285dea78 100644
(file)
--- a/
src/SDCCicode.c
+++ b/
src/SDCCicode.c
@@
-184,9
+184,7
@@
int printOperand (operand *op, FILE *file)
int i;
fprintf(file,"[");
for(i=0;i<OP_SYMBOL(op)->nRegs;i++)
- fprintf(file,"%s ",(OP_SYMBOL(op)->regs[i] ?
- OP_SYMBOL(op)->regs[i]->name :
- "err"));
+ fprintf(file,"%s ", port->getRegName(OP_SYMBOL(op)));
fprintf(file,"]");
}
}