]> git.gag.com Git - fw/sdcc/blobdiff - src/ds390/ralloc.c
a fix for the initialized structs and some others, see
[fw/sdcc] / src / ds390 / ralloc.c
index b2aa0866c80bbe948e11d831c408ecc3dccebd6c..e030c416b89bbf2a78336b474ebcb6ef1ea32411 100644 (file)
@@ -2443,7 +2443,7 @@ packRegisters (eBBlock * ebp)
 
              /* if the type from and type to are the same
                 then if this is the only use then packit */
-             if (checkType (operandType (IC_RIGHT (ic)),
+             if (compareType (operandType (IC_RIGHT (ic)),
                             operandType (IC_LEFT (ic))) == 1)
                {
                  iCode *dic = packRegsForOneuse (ic, IC_RIGHT (ic), ebp);