Files
mercury/compiler
Zoltan Somogyi c745c93c1d Fix an old bug: when invoking the compiler with -vS, many of the statistics
Estimated hours taken: 1
Branches: main

Fix an old bug: when invoking the compiler with -vS, many of the statistics
printed didn't say what they are for, because the relevant messages were
enabled only with -V.

compiler/options.m:
	Add a new option, detailed_statistics. This option is not visible
	to users.

compiler/handle_options.m:
	Set detailed_statistics only if -v and -S are both set.

compiler/mercury_compile.m:
compiler/modes.m:
compiler/modules.m:
compiler/optimize.m:
compiler/typecheck_errors.m:
	In a bunch of places where progress messages are enabled only with -V
	and not with -v, consult detailed_statistics instead of statistics
	to decide whether to print statistics, in order to make sure you
	get only interpretable statistics.

compiler/make_hlds_passes.m:
	Print messages before two statistics reports, because otherwise the
	statistics are not interpretable. Don't print stats for module
	optimization, since it is now a no-op.

compiler/cse_detection.m:
	Print statistics if detailed_statistics is set. This is useful because
	in some cases, cse_detection can be expensive (it reruns mode
	analysis).

compiler/simplify.m:
	Print statistics if detailed_statistics is set. This is useful because
	in some cases, simplify can be expensive.
2005-10-25 06:33:03 +00:00
..
2005-10-05 06:34:27 +00:00
2005-10-05 06:34:27 +00:00
2005-10-05 06:34:27 +00:00
2005-10-10 07:54:37 +00:00
2005-10-05 06:34:27 +00:00
2005-10-05 06:34:27 +00:00
2005-10-05 06:34:27 +00:00
2005-10-05 06:34:27 +00:00