From: kflittner Date: Mon, 12 Jan 2004 21:55:59 +0000 (+0000) Subject: * src/ds390/gen.c (operandsEqu): fixed a little typo, that prevented X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=20811a7818b63e1a618002a3da24ed4b58bfafeb;p=fw%2Fsdcc * src/ds390/gen.c (operandsEqu): fixed a little typo, that prevented the spilllocations to be compared correctly git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3120 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index ef911f5c..96c107ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-01-12 Klaus Flittner + + * src/ds390/gen.c (operandsEqu): fixed a little typo, that prevented + the spilllocations to be compared correctly + 2004-01-12 Bernhard Held * src/SDCCast.c (decorateType): fixed bug introduced today diff --git a/src/ds390/gen.c b/src/ds390/gen.c index e66bfc16..753bb4e8 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -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;