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-05-09 20:14:55 +10:00
2023-03-12 16:23:21 +08:00
2022-11-22 02:27:33 +11:00
2023-04-09 16:23:13 +10:00
2023-04-06 15:32:48 +10:00
2023-04-09 16:23:13 +10:00
2023-02-03 19:06:59 +11:00
2023-05-21 14:13:45 +10:00
2023-05-16 08:11:56 +10:00
2022-11-14 22:37:50 +11:00
2023-05-21 14:13:45 +10:00
2023-04-09 16:23:13 +10:00
2023-05-30 06:10:15 +02:00
2023-02-03 19:06:59 +11:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 13:41:06 +10:00
2022-11-22 02:27:33 +11:00
2022-11-18 20:23:11 +11:00
2023-05-21 11:33:20 +10:00
2022-11-01 11:33:41 +11:00
2022-11-18 20:23:11 +11:00
2023-05-15 18:45:53 +10:00
2022-11-22 02:27:33 +11:00
2022-10-17 18:29:42 +11:00
2022-11-01 11:33:41 +11:00
2023-04-06 15:32:48 +10:00
2023-04-09 16:23:13 +10:00
2023-04-21 17:24:30 +10:00
2023-01-22 19:01:42 +11:00
2023-05-31 17:44:26 +10:00
2023-04-24 14:59:20 +10:00
2023-04-24 14:59:20 +10:00
2022-12-29 20:33:08 +11:00
2023-04-19 17:38:31 +10:00
2022-11-18 20:23:11 +11:00
2023-01-22 19:37:20 +11:00
2023-04-06 15:32:48 +10:00
2023-01-28 02:29:24 +11:00
2023-04-21 17:24:30 +10:00
2022-11-22 02:27:33 +11:00
2022-11-01 11:33:41 +11:00
2022-11-01 11:33:41 +11:00
2022-11-01 11:33:41 +11:00
2022-11-01 11:33:41 +11:00
2023-04-21 17:24:30 +10:00
2023-04-19 19:57:51 +10:00
2023-04-21 17:24:30 +10:00
2022-11-22 02:27:33 +11:00
2023-04-09 16:23:13 +10:00
2023-04-21 17:24:30 +10:00
2023-04-21 17:24:30 +10:00
2023-04-09 16:23:13 +10:00
2022-11-01 17:41:45 +11:00
2023-04-09 13:41:06 +10:00
2023-05-21 11:33:20 +10:00
2023-03-11 16:55:06 +08:00
2023-04-06 15:32:48 +10:00
2023-05-31 14:07:10 +02:00
2023-04-24 14:59:20 +10:00
2022-11-18 20:23:11 +11:00
2022-11-22 02:27:33 +11:00
2023-01-28 02:29:15 +11:00
2023-04-05 21:43:13 +10:00
2023-05-31 09:00:44 +02:00
2023-01-22 19:37:20 +11:00
2023-05-23 08:38:26 +10:00
2023-01-22 19:01:42 +11:00
2023-04-07 01:08:56 +10:00
2023-03-11 16:55:06 +08:00
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2023-04-05 21:43:13 +10:00
2022-11-14 22:37:50 +11:00
2023-03-27 22:12:06 +11:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2022-11-22 02:27:33 +11:00
2023-03-11 16:55:06 +08:00
2023-05-29 10:45:53 +02:00
2023-05-29 10:45:53 +02:00
2023-05-09 20:14:55 +10:00
2023-05-29 10:45:53 +02:00
2023-05-09 20:14:55 +10:00
2023-05-09 20:14:55 +10:00
2023-05-09 20:14:55 +10:00
2023-05-09 20:14:55 +10:00
2023-02-03 19:05:46 +11:00
2023-04-24 14:59:20 +10:00
2023-05-16 05:19:12 +10:00
2022-11-01 11:33:41 +11:00
2023-05-29 10:45:26 +02:00
2023-04-09 16:23:13 +10:00
2023-02-09 12:51:04 +11:00
2023-05-30 16:28:02 +10:00
2022-11-22 02:27:33 +11:00
2023-04-19 21:57:22 +10:00
2023-04-24 14:59:20 +10:00
2023-04-24 14:59:20 +10:00
2023-02-09 10:39:58 +11:00
2023-01-22 19:01:42 +11: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
2023-05-09 20:14:55 +10:00
2022-11-18 20:23:11 +11:00
2023-04-21 17:24:30 +10:00
2023-04-06 15:32:48 +10:00
2023-04-06 15:32:48 +10:00
2022-12-14 01:13:58 +11:00
2023-05-29 11:51:23 +02:00
2023-04-09 16:23:13 +10:00
2023-05-21 14:13:45 +10:00
2023-01-22 19:01:42 +11:00
2023-04-09 16:23:13 +10:00
2023-04-21 17:24:30 +10:00
2023-06-01 18:17:40 +02:00
2022-12-05 09:45:11 +11:00
2022-12-08 10:55:29 +11:00
2023-06-01 18:17:40 +02:00
2023-06-01 18:17:40 +02:00
2023-06-01 18:17:40 +02:00
2023-04-21 17:24:30 +10:00
2023-04-21 17:24:30 +10:00
2023-06-01 18:17:40 +02:00
2023-04-21 17:24:30 +10:00
2023-04-06 15:32:48 +10:00
2023-04-21 17:24:30 +10:00
2023-05-23 08:38:26 +10:00
2023-03-11 16:55:06 +08:00
2023-04-09 13:41:06 +10:00
2023-04-21 17:24:30 +10:00
2023-05-31 17:44:26 +10:00
2023-03-16 03:01:44 +08:00
2022-11-22 02:27:33 +11:00
2023-05-16 13:25:19 +10:00
2023-05-16 13:25:19 +10:00
2023-04-09 16:23:13 +10:00
2023-04-03 21:41:32 +10:00
2023-05-16 13:25:19 +10:00
2023-03-16 03:01:20 +08: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
2023-05-08 22:02:10 +10:00
2023-04-09 16:23:13 +10:00
2022-11-18 20:23:11 +11:00
2023-05-16 13:25:19 +10:00
2023-05-16 07:21:21 +10:00
2023-05-16 08:11:56 +10:00
2023-05-16 08:11:56 +10:00
2023-05-16 08:11:56 +10:00
2023-05-16 12:19:39 +10:00
2023-05-16 23:21:59 +10:00
2023-05-16 14:29:09 +10:00
2023-05-16 13:25:19 +10:00
2023-05-16 12:19:39 +10:00
2023-05-16 05:19:12 +10:00
2023-05-16 05:19:12 +10:00
2023-05-16 05:19:12 +10:00
2023-05-12 13:24:37 +10:00
2023-05-16 05:19:12 +10:00
2023-05-16 05:19:12 +10:00
2023-05-12 08:07:10 +10:00
2023-05-16 05:19:12 +10:00
2023-05-12 08:07:10 +10:00
2023-05-12 13:15:44 +10:00
2023-05-16 05:19:12 +10:00
2023-05-16 05:19:12 +10:00
2023-05-16 05:19:12 +10:00
2023-05-11 03:19:27 +10:00
2023-05-16 05:19:12 +10:00
2023-05-16 05:19:12 +10:00
2023-05-11 10:17:25 +10:00
2023-05-16 05:19:12 +10:00
2023-05-11 03:19:27 +10:00
2023-05-16 05:19:12 +10:00
2023-05-11 03:19:27 +10:00
2023-05-29 11:51:23 +02:00
2023-05-16 13:25:19 +10:00
2022-11-10 10:18:41 +11:00
2023-03-28 05:42:24 +11:00
2022-11-01 11:33:41 +11:00
2022-11-18 21:41:06 +11:00
2023-04-09 16:23:13 +10:00
2022-11-18 20:23:11 +11:00
2022-12-14 01:13:58 +11:00
2023-04-09 16:23:13 +10:00
2023-04-24 14:59:20 +10:00
2023-01-22 19:01:42 +11:00
2022-11-25 16:23:33 +11:00
2022-11-25 16:23:33 +11:00
2023-04-09 16:23:13 +10:00
2023-05-21 11:33:20 +10:00
2023-04-09 16:23:13 +10:00
2023-03-11 16:55:06 +08:00
2022-12-14 01:13:58 +11:00
2023-05-31 17:44:26 +10:00
2022-11-22 02:27:33 +11:00
2022-10-21 09:26:02 +11:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-05-09 20:14:55 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-05-09 20:14:55 +10:00
2023-02-02 19:59:10 +11:00
2023-04-06 15:32:48 +10:00
2023-05-21 11:33:20 +10:00
2023-04-21 17:24:30 +10:00
2023-05-29 10:45:53 +02:00
2023-04-18 12:59:55 +10:00
2022-11-18 20:23:11 +11:00
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2022-11-22 02:27:33 +11:00
2022-11-22 02:27:33 +11:00
2022-11-22 02:27:33 +11:00
2022-11-01 11:33:41 +11:00
2023-03-11 16:55:06 +08:00
2023-05-30 06:10:15 +02:00
2022-11-18 20:23:11 +11:00
2023-02-01 18:54:42 +11:00
2023-05-21 11:33:20 +10:00
2023-04-09 16:23:13 +10:00
2023-04-21 17:24:30 +10:00
2023-04-09 16:23:13 +10:00
2023-05-21 11:33:20 +10:00
2023-05-21 11:33:20 +10:00
2023-05-23 06:42:47 +10:00
2023-04-24 14:59:20 +10:00
2023-01-22 19:37:20 +11:00
2023-03-19 00:24:25 +11:00
2022-10-17 18:09:34 +11:00
2023-04-09 16:23:13 +10:00
2023-05-21 11:33:20 +10:00
2022-11-22 02:27:33 +11:00
2023-04-09 16:23:13 +10: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
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2022-11-22 02:27:33 +11:00
2023-04-09 16:23:13 +10:00
2023-04-21 17:24:30 +10:00
2023-01-31 18:36:16 +11:00
2022-11-18 22:06:00 +11:00
2023-05-16 12:19:39 +10:00
2022-11-01 11:33:41 +11:00
2023-04-19 16:34:39 +10:00
2022-11-01 11:33:41 +11:00
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2022-11-22 02:27:33 +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-03-11 16:55:06 +08:00
2023-02-02 19:59:10 +11:00
2023-04-09 16:23:13 +10:00
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2023-03-11 16:55:06 +08:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2022-11-01 11:33:41 +11:00
2023-04-03 10:02:39 +10:00
2023-04-04 21:23:39 +10:00
2023-05-21 11:33:20 +10:00
2023-03-11 16:55:06 +08: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
2022-12-28 05:42:08 +11:00
2023-03-11 16:55:06 +08:00
2023-04-08 15:27:33 +10:00
2023-03-16 19:07:31 +11:00
2023-04-06 15:32:48 +10:00
2022-11-22 02:27:33 +11:00
2022-11-29 16:40:22 +11:00
2023-04-06 15:32:48 +10:00
2022-10-17 18:29:42 +11:00
2023-04-06 15:32:48 +10:00
2023-02-08 14:55:40 +11:00
2022-10-17 18:29:42 +11:00
2023-05-21 11:33:20 +10:00
2022-10-16 15:42:30 +11:00
2023-04-06 15:32:48 +10:00
2023-02-02 15:44:11 +11:00
2023-04-09 16:23:13 +10:00
2022-11-01 11:33:41 +11:00
2022-11-01 11:33:41 +11:00
2023-04-09 16:23:13 +10:00
2023-04-09 16:23:13 +10:00
2022-11-23 16:50:45 +11:00
2023-03-28 02:36:15 +11:00
2022-11-18 20:23:11 +11:00
2023-05-31 10:14:31 +02:00
2023-05-23 08:38:26 +10:00
2023-04-21 17:24:30 +10:00
2023-05-21 11:33:20 +10:00