[m-dev.] for review: IL backend bugfixes
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun Oct 22 16:44:06 AEDT 2000
On 22-Oct-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> +++ compiler/ml_code_util.m 2000/10/21 08:49:02
> @@ -789,14 +789,10 @@
> % Call error/1 with a "Sorry, not implemented" message.
> %
> sorry(What) :-
> - string__format("ml_code_gen.m: Sorry, not implemented: %s",
> - [s(What)], ErrorMessage),
> - error(ErrorMessage).
> + error_util__sorry("ml_code_gen", What).
>
> unexpected(What) :-
> - string__format("ml_code_gen.m: Unexpected: %s",
> - [s(What)], ErrorMessage),
> - error(ErrorMessage).
> + error_util__unexpected("ml_code_gen", What).
The "ml_code_gen" there dates from the time when all that code was in
ml_code_gen.m rather than ml_code_util.m. It seems potentially misleading now.
Perhaps it should be "ml_code_util.m" or "MLDS (--high-level-code) back-end".
Apart from that, this change looks fine.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
| -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list