fixed bug #716790 and removes lot's of redundant register usage around function calls
[fw/sdcc] / src / mcs51 / ralloc.c
index 795237d22ffb660e548047ec8158ae793ba2282c..a97776bea7b6b80c9b5534bd6feb75f8a27d5215 100644 (file)
@@ -1763,12 +1763,19 @@ packRegsForAssign (iCode * ic, eBBlock * ebp)
      we cannot */
   for (dic = ic->prev; dic; dic = dic->prev)
     {
+
+#if 0 /* jwk: This collides with 1.43 but I really see no need for
+        this anymore. It fixes bug #716790 and substantially improves 
+        redundant register usage around function calls.
+      */
+
       /* if there is a function call then don't pack it */
       if ((dic->op == CALL || dic->op == PCALL))
        {
          dic = NULL;
          break;
        }
+#endif
 
       if (SKIP_IC2 (dic))
        continue;