Address juliensf's review comments on my recent change to add an MLDS

Estimated hours taken: 0.25

Address juliensf's review comments on my recent change to add an MLDS
optimization to convert assignments into initializers.

compiler/ml_optimize.m:
doc/user_guide.texi:
	Fix some typos.

compiler/options.m:
	Wrap some long lines.
This commit is contained in:
Fergus Henderson
2001-02-12 04:39:58 +00:00
parent 90106ca1da
commit eda6dba133
3 changed files with 7 additions and 6 deletions

View File

@@ -9,9 +9,9 @@
% This module runs various optimizations on the MLDS.
%
% Currently the optimization we do here are
% - turning tailcalls into loops.
% - converting assignments to local variables into variable initializers
% Currently the optimizations we do here are
% - turning tailcalls into loops;
% - converting assignments to local variables into variable initializers.
%
% Note that tailcall detection is done in ml_tailcall.m.
% It might be nice to move the detection here, and do both the

View File

@@ -2548,8 +2548,9 @@ options_help_mlds_mlds_optimization -->
"\tTreat tailcalls as ordinary calls, rather than optimizing",
"\tby turning self-tailcalls into loops.",
"--no-optimize-initializations",
"\tLeave initializations of local variables as assignment statements,",
"\trather converting such assignments statements into initializers."
"\tLeave initializations of local variables as assignment",
"\tstatements, rather than converting such assignments statements",
"\tinto initializers."
]).

View File

@@ -4107,7 +4107,7 @@ by turning self-tailcalls into loops.
@item --no-optimize-initializations
Leave initializations of local variables as assignment statements,
rather converting such assignments statements into initializers.
rather than converting such assignments statements into initializers.
@end table