Remove the implication from .debug to .tr.

Estimated hours taken: 1
Branches: main

compiler/handle_options.m:
scripts/final_grade_options.sh-subr.m:
	Remove the implication from .debug to .tr. This implication is no
	longer appropriate, since we now have both .tr and .trseg versions
	of trailing, and .trseg is the more useful one. However, since .tr
	is still used, replacing the implication with one from .debug to
	.trseg is not appropriate either.

	Removing the implication yields an executable size reduction of 6.8%,
	and speedup of 10%.
This commit is contained in:
Zoltan Somogyi
2009-06-04 07:48:21 +00:00
parent d1719ad812
commit 478cf3d8d4
2 changed files with 1 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
#---------------------------------------------------------------------------#
# Copyright (C) 1998-2002, 2004-2007 The University of Melbourne.
# Copyright (C) 1998-2002, 2004-2007, 2009 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#---------------------------------------------------------------------------#
@@ -49,14 +49,6 @@ case $extend_stacks,$stack_segments in true,true)
exit 1 ;;
esac
#
# .debug grade (but not .decldebug) implies --use-trail in the absence of .*mm*
# (see comment in compiler/handle_options.m for rationale)
#
case $debug,$decl_debug,$use_minimal_model in true,false,false)
use_trail=true ;;
esac
#
# --decl-debug implies --debug
#