From eda6dba133f6ed7cea23b9059da3382e28dccb2e Mon Sep 17 00:00:00 2001 From: Fergus Henderson Date: Mon, 12 Feb 2001 04:39:58 +0000 Subject: [PATCH] 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. --- compiler/ml_optimize.m | 6 +++--- compiler/options.m | 5 +++-- doc/user_guide.texi | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/compiler/ml_optimize.m b/compiler/ml_optimize.m index 1a8bce312..c09014b66 100644 --- a/compiler/ml_optimize.m +++ b/compiler/ml_optimize.m @@ -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 diff --git a/compiler/options.m b/compiler/options.m index afecee6a5..f19add38b 100644 --- a/compiler/options.m +++ b/compiler/options.m @@ -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." ]). diff --git a/doc/user_guide.texi b/doc/user_guide.texi index 6cc12e0d0..53a113897 100644 --- a/doc/user_guide.texi +++ b/doc/user_guide.texi @@ -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