]> git.gag.com Git - fw/sdcc/commit
A fix for bug #467035 - this is a fairly major shift in
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 15 Oct 2001 02:03:11 +0000 (02:03 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 15 Oct 2001 02:03:11 +0000 (02:03 +0000)
commit246fcc4a5bdc6d66ae39b4325ad7e9cd1055b15e
treec205ed647e44749db8fbdf8042d2da36fa96abe6
parent89fe7a0b61ead41d4d870f20f641fe06d8d30ae7
A fix for bug #467035 - this is a fairly major shift in
CSE processing. Previously when an operation was performed
before with the same operands then the result of the previous
operand replaced the result of the current operation entirely.
This was buggy , the current solution looks like a much cleaner
way to do things. Replace the current iCode with the an assignment
of the previous icode's result, we nolonger have to replace the
operands because the assignment exists, will have to watch for
performance regressions

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1399 4a8a32a2-be11-0410-ad9d-d568d2c75423
src/SDCCcse.c