From: bernhardheld Date: Sun, 3 Aug 2003 19:21:07 +0000 (+0000) Subject: redo Frieder's patch X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=050a1520b0180f07936cd1f3a48d9f3bc9748b84;p=fw%2Fsdcc redo Frieder's patch git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2801 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/mcs51/gen.c b/src/mcs51/gen.c index 456ffac4..42914f8d 100644 --- a/src/mcs51/gen.c +++ b/src/mcs51/gen.c @@ -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);