cleaned up the mess I left behind
[fw/sdcc] / src / SDCCicode.c
index 4ee005545ba7f2bc5a1f51defee057d39e6da3df..2792ef48ee309608fca56056e07328998647937c 100644 (file)
@@ -2559,13 +2559,6 @@ geniCodeDerefPtr (operand * op,int lvl)
 
   op->isGptr = IS_GENPTR (optype);
 
-#ifdef JWK
-  /* if the pointer was declared as a constant */
-  /* then we cannot allow assignment to the derefed */
-  if (IS_PTR_CONST (optype))
-    SPEC_CONST (retype) = 1;
-#endif
-
   op->isaddr = (IS_PTR (rtype) ||
                IS_STRUCT (rtype) ||
                IS_INT (rtype) ||