From 867260d27d258265cb9504a817314aac4d720849 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 6 Jun 2001 00:34:35 +0000 Subject: [PATCH] report the size of the locals pool --- tools/qfcc/source/qfcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/qfcc/source/qfcc.c b/tools/qfcc/source/qfcc.c index 457bec77c..8ff99ecf0 100644 --- a/tools/qfcc/source/qfcc.c +++ b/tools/qfcc/source/qfcc.c @@ -56,6 +56,7 @@ int numfunctions; ddef_t globals[MAX_GLOBALS]; int numglobaldefs; +int num_locals; ddef_t fields[MAX_FIELDS]; int numfielddefs; @@ -269,6 +270,7 @@ WriteData (int crc) printf ("%6i statements\n", numstatements); printf ("%6i functions\n", numfunctions); printf ("%6i globaldefs\n", numglobaldefs); + printf ("%6i locals size\n", num_locals); printf ("%6i fielddefs\n", numfielddefs); printf ("%6i pr_globals\n", numpr_globals); @@ -614,7 +616,6 @@ PR_FinishCompilation (void) def_t *d; qboolean errors = false; function_t *f; - int num_locals = 0; def_t *def; statref_t *ref;