1987-03-10 11:49:39 +00:00
|
|
|
/* $Header$ */
|
1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1984-11-26 14:35:32 +00:00
|
|
|
/* U S E - D E F I N I T I O N A N A L Y S I S
|
|
|
|
*
|
|
|
|
* U D _ L O C A L S . H
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern local_p *locals; /* table of locals, index is local-number */
|
|
|
|
extern short nrlocals; /* number of locals for which we keep ud-info */
|
|
|
|
|
|
|
|
extern make_localtab(); /* (proc_p p)
|
|
|
|
* Analyse the text of procedure p to determine
|
|
|
|
* which local variable p has. Make a table of
|
|
|
|
* these variables ('locals') and count them
|
|
|
|
* ('nrlocals'). Also collect register messages.
|
|
|
|
*/
|
|
|
|
extern var_nr(); /* (line_p l; short *nr_out;bool *found_out)
|
|
|
|
* Compute the 'variable number' of the
|
|
|
|
* variable referenced by EM instruction l.
|
|
|
|
*/
|