1994-06-24 11:31:16 +00:00
|
|
|
/* $Id$ */
|
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 15:04:22 +00:00
|
|
|
/* M A P . C */
|
|
|
|
|
2019-02-10 13:03:55 +00:00
|
|
|
#include <stdlib.h>
|
1984-11-26 15:04:22 +00:00
|
|
|
#include "types.h"
|
|
|
|
#include "map.h"
|
|
|
|
|
2019-02-10 13:03:55 +00:00
|
|
|
short plength = 0;
|
|
|
|
short olength = 0;
|
|
|
|
short llength = 0;
|
|
|
|
short blength = 0;
|
|
|
|
short lplength = 0;
|
|
|
|
line_p* lmap = NULL;
|
|
|
|
bblock_p* lbmap = NULL;
|
|
|
|
proc_p* pmap = NULL; /* dynamically allocated array that maps
|
|
|
|
* every proc_id to a proc_p.
|
|
|
|
*/
|
|
|
|
obj_p* omap = NULL; /* maps obj_id to obj_p */
|
|
|
|
loop_p* lpmap = NULL; /* maps loop_id to loop_p */
|
|
|
|
bblock_p* bmap = NULL; /* maps block_id to bblock_p */
|
1984-11-26 15:04:22 +00:00
|
|
|
|
2019-02-10 13:03:55 +00:00
|
|
|
dblock_p fdblock = NULL; /* first dblock */
|
|
|
|
proc_p fproc = NULL; /* first proc */
|