Fixed promotion, it should be done on AST level:
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 27 Jan 2004 09:40:04 +0000 (09:40 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 27 Jan 2004 09:40:04 +0000 (09:40 +0000)
commit8ca3f40b43c15b0903435e340163ddca7f5d8b15
treeb1b9aeedc2da04c1b637396e342fa8b502097cfc
parentf3946e669d77d841b638d798c3e09429cd3338c6
Fixed promotion, it should be done on AST level:
* src/SDCCast.c (addCast): added promotion to int
(decorateType): updated call to upCast()
* src/SDCCicode.c (geniCodeLeftShift): removed call usualUnaryConversions()

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3152 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
src/SDCCast.c
src/SDCCicode.c