Files
mercury/compiler
Peter Wang 337877a67b Fix tabling of subtypes.
compiler/table_gen.m:
    Find the maximum value used by an enum type to determine the size of
    a trie node required for its step. Previously the code counted the
    number of alternatives in the enum type, which does not work for
    subtypes.

compiler/hlds_pred.m:
    Update comment.

runtime/mercury_ml_expand_body.h:
runtime/mercury_deconstruct_macros.h:
    Move some macros from mercury_ml_expand_body.h to
    mercury_deconstruct_macros.h, and add MR_ prefixes.

runtime/mercury_construct.c:
    Update comment.

runtime/mercury_table_type_body.h:
    Use macros to search the ptag layout array or secondary tag array
    if it is not possible to directly index them (which is the case for
    subtypes).

tests/tabling/Mmakefile:
tests/tabling/table_subtype_du.m:
tests/tabling/table_subtype_du.exp:
tests/tabling/table_subtype_enum.m:
tests/tabling/table_subtype_enum.exp:
    Add test cases.
2021-04-09 17:41:23 +10:00
..
2020-12-29 19:39:14 +11:00
2020-03-15 19:37:18 +11:00
2021-03-15 11:16:31 +11:00
2021-04-09 17:41:23 +10:00
2020-10-09 18:44:24 +11:00
2020-11-30 17:34:42 +11:00
2020-11-30 17:34:42 +11:00
2020-11-30 17:34:42 +11:00
2020-07-17 14:25:08 +10:00
2020-11-30 17:34:42 +11:00
2020-11-30 17:34:42 +11:00
2021-03-15 11:16:31 +11:00
2020-07-17 10:48:13 +10:00
2020-11-30 17:34:42 +11:00
2020-11-07 14:14:07 +11:00
2020-07-17 10:48:13 +10:00
2021-04-09 17:41:23 +10:00
2018-10-26 00:30:12 +11:00
2021-04-09 17:41:23 +10:00
2021-03-15 11:16:31 +11:00
2020-07-17 14:25:08 +10:00
2020-07-17 14:25:08 +10:00
2019-10-27 02:53:46 +11:00
2019-08-31 13:00:06 +10:00
2019-10-05 16:48:48 +10:00
2020-11-23 10:42:15 +11:00
2021-04-09 17:41:23 +10:00
2020-04-11 19:30:58 +10:00
2021-02-25 11:14:49 +11:00
2021-03-24 22:02:18 +11:00
2020-10-09 19:30:46 +11:00
2020-07-17 14:25:08 +10:00
2019-04-15 03:30:15 +10:00
2020-08-24 05:39:41 +10:00
2020-08-24 05:39:41 +10:00
2020-08-24 05:39:41 +10:00
2018-10-25 23:09:19 +11:00
2021-03-15 11:16:31 +11:00
2019-06-26 23:41:16 +02:00
2020-11-30 17:34:42 +11:00
2020-01-14 19:10:58 +11:00
2020-07-17 14:25:08 +10:00
2020-07-17 14:25:08 +10:00
2020-11-30 17:34:42 +11:00
2021-04-09 17:41:23 +10:00
2019-10-27 02:53:46 +11:00
2020-10-30 13:20:21 +11:00
2020-07-17 14:25:08 +10:00
2020-11-30 17:34:42 +11:00
2020-11-30 17:34:42 +11:00
2020-07-17 10:48:13 +10:00