fprintf(stderr,"assertion failed file %s, line %u\n",file,line);
error("assertion");
}
-#endif
/* Valid Address */
VA(a) short *a; {
error("VP: unlikely p_nrlabels: %d", nrlabs);
}
}
+#endif
/* D E B U G G I N G T O O L S */
/* TEMPORARY: */
-#define DEBUG
+/* #define DEBUG */
extern int linecount; /* # lines in this file */
extern bool verbose_flag; /* generate verbose output ? */
}
-STATIC message(lnp)
+message(lnp)
line_p lnp;
{
/* See if lnp is some useful message.
* variable 'mesregs'. The proc read
* is returned in p_out.
*/
+extern message(); /* (line_p lnp)
+ * See if lnp is some useful message.
+ * (e.g. a message telling that a
+ * certain local variable will never be
+ * referenced indirectly, so it may be
+ * put in a register.
+ * If so, add it to the mesregs set.)
+ */
core_usage()
{
+#ifdef DEBUG
if (core_flag) {
coreusage();
}
+#endif
}
report(s,n)
-STATIC find_local(off,nr_out,found_out)
+find_local(off,nr_out,found_out)
offset off;
short *nr_out;
bool *found_out;
* Compute the 'variable number' of the
* variable referenced by EM instruction l.
*/
+extern find_local(); /* (offset off; short *nr_out; bool *found_out)
+ * Try to find the local variable at the given
+ * offset. Return its local-number.
+ */
+
/* Every global variable for which ud-info is maintained has
* a 'global variable number' (o_globnr). Every useful local
}
-STATIC outproc(p) proc_p p; {
+outproc(p) proc_p p; {
outshort((short) p->p_id);
}
extern outoff(); /* (offset off)
* Write an offset to curoutp
*/
-
+extern outproc(); /* (proc_p p)
+ * Write a procid to curoutp
+ */
extern putdtable(); /* (dblock_p head, FILE *df)
* Write the data block table to file df,
* preceded by its length.