]> git.gag.com Git - fw/sdcc/commitdiff
* src/ds390/gen.c (operandsEqu): fixed a little typo, that prevented
authorkflittner <kflittner@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 12 Jan 2004 21:55:59 +0000 (21:55 +0000)
committerkflittner <kflittner@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 12 Jan 2004 21:55:59 +0000 (21:55 +0000)
the spilllocations to be compared correctly

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

ChangeLog
src/ds390/gen.c

index ef911f5ce5a9956a2ccd6b68c54d12ac535e786d..96c107ef9c4d1ae4d95ce769a3a4b2c2b19bbca0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-12 Klaus Flittner <klaus_flittner@gmx.de>
+
+       * src/ds390/gen.c (operandsEqu): fixed a little typo, that prevented
+       the spilllocations to be compared correctly
+
 2004-01-12 Bernhard Held <bernhard@bernhardheld.de>
 
        * src/SDCCast.c (decorateType): fixed bug introduced today
index e66bfc16280a82a232c64a042cfe89fe5153f74f..753bb4e80556183aae0a864d5f08ae024a4901cc 100644 (file)
@@ -873,7 +873,7 @@ operandsEqu (operand * op1, operand * op2)
       IS_ITEMP (op1) &&
       sym2->isspilt &&
       sym1->isspilt &&
-      (sym1->usl.spillLoc == sym1->usl.spillLoc))
+      (sym1->usl.spillLoc == sym2->usl.spillLoc))
     return TRUE;
     
   return FALSE;