Break DS80C390 support into seperate port (ds390); first pass at spilling temporaries...
[fw/sdcc] / src / SDCCcse.c
index f1f91676390e9b37b5464ace1984b9c06fde63b6..72129a291e2a34ff0a73cce002c24b3b20d77534 100644 (file)
@@ -1114,6 +1114,15 @@ DEFSETFUNC(delGetPointerSucc)
 static void fixUpTypes(iCode *ic)
 {
        link *t1 = operandType(IC_LEFT(ic)) ,*t2;
+       
+       extern PORT ds390_port;
+       
+       if (port == &ds390_port)
+       {
+           /* hack-o-matic! */
+           return;
+       }
+       
        /* for pointer_gets if the types of result & left r the
           same then change it type of result to next */
        if (IS_PTR(t1) &&