mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
report the size of the locals pool
This commit is contained in:
parent
c3cdfce12b
commit
867260d27d
1 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ int numfunctions;
|
||||||
|
|
||||||
ddef_t globals[MAX_GLOBALS];
|
ddef_t globals[MAX_GLOBALS];
|
||||||
int numglobaldefs;
|
int numglobaldefs;
|
||||||
|
int num_locals;
|
||||||
|
|
||||||
ddef_t fields[MAX_FIELDS];
|
ddef_t fields[MAX_FIELDS];
|
||||||
int numfielddefs;
|
int numfielddefs;
|
||||||
|
@ -269,6 +270,7 @@ WriteData (int crc)
|
||||||
printf ("%6i statements\n", numstatements);
|
printf ("%6i statements\n", numstatements);
|
||||||
printf ("%6i functions\n", numfunctions);
|
printf ("%6i functions\n", numfunctions);
|
||||||
printf ("%6i globaldefs\n", numglobaldefs);
|
printf ("%6i globaldefs\n", numglobaldefs);
|
||||||
|
printf ("%6i locals size\n", num_locals);
|
||||||
printf ("%6i fielddefs\n", numfielddefs);
|
printf ("%6i fielddefs\n", numfielddefs);
|
||||||
printf ("%6i pr_globals\n", numpr_globals);
|
printf ("%6i pr_globals\n", numpr_globals);
|
||||||
|
|
||||||
|
@ -614,7 +616,6 @@ PR_FinishCompilation (void)
|
||||||
def_t *d;
|
def_t *d;
|
||||||
qboolean errors = false;
|
qboolean errors = false;
|
||||||
function_t *f;
|
function_t *f;
|
||||||
int num_locals = 0;
|
|
||||||
def_t *def;
|
def_t *def;
|
||||||
statref_t *ref;
|
statref_t *ref;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue