]> git.gag.com Git - fw/sdcc/commitdiff
redo Frieder's patch
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 3 Aug 2003 19:21:07 +0000 (19:21 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 3 Aug 2003 19:21:07 +0000 (19:21 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2801 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/mcs51/gen.c

index 456ffac4f2cb89183ef8375a649ac2a09d0ed9e8..42914f8d0c936746b3ba20d7651affcfbe345f15 100644 (file)
@@ -7652,7 +7652,6 @@ genGenPointerGet (operand * left,
   if (pi && AOP_TYPE (left) != AOP_IMMD && AOP_TYPE (left) != AOP_STR) {
     aopPut ( AOP (left), "dpl", 0, isOperandVolatile (left, FALSE));
     aopPut ( AOP (left), "dph", 1, isOperandVolatile (left, FALSE));
-    aopPut ( AOP (left), "b", 2, isOperandVolatile (left, FALSE));
     pi->generated = 1;
   }
   freeAsmop (left, NULL, ic, TRUE);
@@ -8263,7 +8262,6 @@ genGenPointerSet (operand * right,
   if (pi && AOP_TYPE (result) != AOP_STR && AOP_TYPE (result) != AOP_IMMD) {
     aopPut (AOP(result), "dpl", 0, isOperandVolatile (result, FALSE));
     aopPut (AOP(result), "dph", 1, isOperandVolatile (result, FALSE));
-    aopPut (AOP(result), "b", 2, isOperandVolatile (result, FALSE));
     pi->generated=1;
   }
   freeAsmop (result, NULL, ic, TRUE);