static int functionInlining = 1; /* inline functions if nonzero */
int pic16_debug_verbose = 1; /* Set true to inundate .asm file */
-static int GpCodeSequenceNumber = 1;
+//static int GpCodeSequenceNumber = 1;
static int GpcFlowSeq = 1;
extern void pic16_RemoveUnusedRegisters(void);
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
+#if 0
static void pCodeReadCodeTable(void)
{
pBlock *pb;
}
-
+#endif
/*-----------------------------------------------------------------*/
/* pic16_addpCode2pBlock - place the pCode into the pBlock linked list */
/*-----------------------------------------------------------------*/
}
-
+#if 0
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
static void pBlockRegs(FILE *of, pBlock *pb)
r = setNextItem(pb->tregisters);
}
}
-
+#endif
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
return NULL;
}
-
+#if 0
/*-----------------------------------------------------------------*/
/* findLabel - Search the pCode for a particular label */
/*-----------------------------------------------------------------*/
fprintf(stderr,"Couldn't find label %s", pcop_label->pcop.name);
return NULL;
}
-
+#endif
/*-----------------------------------------------------------------*/
/* pic16_findNextpCode - given a pCode, find the next of type 'pct' */
/* in the linked list */
{
return findPrevpCode(pci, PC_OPCODE);
}
-
+#if 0
/*-----------------------------------------------------------------*/
/* findFunctionEnd - given a pCode find the end of the function */
/* that contains it */
fprintf(stderr,"Couldn't find function end\n");
return NULL;
}
-
+#endif
#if 0
/*-----------------------------------------------------------------*/
/* AnalyzeLabel - if the pCode is a label, then merge it with the */
}
-
+#if 0
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
static void dumpCond(int cond)
fprintf(stderr, " %s\n",pcc_str[i]);
}
+#endif
+#if 0
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
static void FlowStats(pCodeFlow *pcflow)
dumpCond(pcflow->outCond);
}
-
+#endif
/*-----------------------------------------------------------------*
* int isBankInstruction(pCode *pc) - examine the pCode *pc to determine
* if it affects the banking bits.
PCFL(pcflow_max_From)->FromConflicts);
*/
}
-
+#if 0
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
static void DumpFlow(pBlock *pb)
}
}
-
+#endif
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
static int OptimizepBlock(pBlock *pb)