]> git.gag.com Git - fw/sdcc/commitdiff
src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 28 Dec 2002 20:44:29 +0000 (20:44 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 28 Dec 2002 20:44:29 +0000 (20:44 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2124 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/mcs51/gen.c

index 08125f9fdf3918fe9973e5a213666b854824accb..1cdd73cc79e84dc52dd8a8a17f4882c096665dd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2002-12-28  Bernhard Held <bernhard@bernhardheld.de>
+       * src/mcs51/gen.c (aopGetUsesAcc): inserted missing "return FALSE"
+
 2002-12-27  Bernhard Held <bernhard@bernhardheld.de>
         * as/mcs51/Makefile.in: fixed typo lkomf51.o -> lkaomf51.o
 
index 933951931351312aafa1f12be73272c5d91c84d3..0ac4af35fea4315cbb57591c2898b066362c4fc6 100644 (file)
@@ -778,13 +778,14 @@ aopGetUsesAcc (asmop *aop, int offset)
   if (offset > (aop->size - 1))
     return FALSE;
 
-  switch (aop->type) 
+  switch (aop->type)
     {
 
     case AOP_R0:
     case AOP_R1:
       if (aop->paged)
        return TRUE;
+      return FALSE;
     case AOP_DPTR:
       return TRUE;
     case AOP_IMMD: