Files
mercury/compiler
Zoltan Somogyi 083d376e65 Eliminate some redundant target->filename conversions.
compiler/make.util.m:
    Many operations in this module that operate on filenames did not take
    those filenames as arguments; instead, they took an argument such as
    a target_file from which they *computed* the filename. This meant that
    any predicate that called more than one of these operations implicitly
    computed the filename more than once. This could be a problem, because

    - there are several predicates one can use to compute the filename, but
    - there is no guarantee that different operations use the same predicate.

    As a first step in fixing this, change the predicates that print
    filenames in progress or error messages to take those filenames
    as parameters. Delete one of them, target_file_error, because
    after this change, it would have become identical to the existing
    file_error predicate.

compiler/make.module_target.m:
    Require the callers of record_made_target to supply the filename
    as well as the target_file from which it is derived.

compiler/make.dependencies.m:
compiler/make.module_dep_file.m:
compiler/make.program_target.m:
    Compute the filename before calling the updated operations in make.util.m
    and/or make.module_target.m.

    Add "XXX MAKE_STREAM" to places in the code that operate on either
    implicit or badly-chosed explicit streams.
2023-06-01 18:17:40 +02:00
..
2023-03-12 16:23:21 +08:00
2023-02-03 19:06:59 +11:00
2023-02-03 19:06:59 +11:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2023-04-06 15:32:48 +10:00
2023-04-19 19:57:51 +10:00
2023-04-06 15:32:48 +10:00
2023-05-31 14:07:10 +02:00
2022-11-18 20:23:11 +11:00
2023-04-05 21:43:13 +10:00
2023-05-31 09:00:44 +02:00
2023-04-05 21:43:13 +10:00
2023-03-27 22:12:06 +11:00
2023-02-03 19:05:46 +11:00
2023-05-30 16:28:02 +10:00
2023-04-19 21:57:22 +10:00
2023-02-03 19:06:37 +11:00
2022-11-18 20:23:11 +11:00
2023-04-24 14:59:20 +10:00
2022-11-18 20:23:11 +11:00
2023-04-06 15:32:48 +10:00
2022-12-14 01:13:58 +11:00
2023-05-16 13:25:19 +10:00
2023-05-16 13:25:19 +10:00
2023-04-03 21:41:32 +10:00
2023-05-16 13:25:19 +10:00
2023-04-05 00:38:24 +10:00
2023-04-03 21:41:32 +10:00
2023-04-03 21:41:32 +10:00
2022-12-14 01:13:58 +11:00
2022-11-18 20:23:11 +11:00
2023-05-16 13:25:19 +10:00
2023-05-16 14:29:09 +10:00
2023-05-16 13:25:19 +10:00
2023-05-16 13:25:19 +10:00
2022-11-10 10:18:41 +11:00
2022-11-18 21:41:06 +11:00
2022-11-18 20:23:11 +11:00
2022-12-14 01:13:58 +11:00
2022-12-14 01:13:58 +11:00
2023-05-31 17:44:26 +10:00
2022-10-21 09:26:02 +11:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2022-10-17 18:09:34 +11:00
2023-04-07 04:31:53 +10:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2023-01-31 18:36:16 +11:00
2022-11-18 20:23:11 +11:00
2023-03-28 02:36:34 +11:00
2022-12-14 01:13:58 +11:00
2023-04-04 21:23:39 +10:00
2023-03-25 16:48:31 +11:00
2022-12-14 01:13:58 +11:00
2022-12-14 01:13:58 +11:00
2022-12-14 01:13:58 +11:00
2023-04-08 15:27:33 +10:00
2023-04-06 15:32:48 +10:00
2023-03-28 02:36:15 +11:00
2022-11-18 20:23:11 +11:00