Stop using higher order insts as modes.

configure.ac:
    Require the installed compiler to support --allow-insts-as-modes
    (and therefore its negation).

*/*_FLAGS.in:
    Add -no-allow-ho-insts-as-modes as a default option.

compiler/bytecode_data.m:
compiler/deforest.m:
compiler/inst_graph.m:
compiler/introduce_parallelism.m:
compiler/mode_constraint_robdd.m:
compiler/mode_constraints.m:
compiler/mode_robdd.equiv_vars.m:
compiler/mode_robdd.implications.m:
compiler/mode_robdd.tfeirn.m:
compiler/parse_util.m:
compiler/recompilation.version.m:
compiler/set_of_var.m:
compiler/term_constr_fixpoint.m:
deep_profiler/array_util.m:
deep_profiler/autopar_find_best_par.m:
deep_profiler/dump.m:
deep_profiler/interface.m:
deep_profiler/program_representation_utils.m:
mdbcomp/program_representation.m:
    Add in() wrappers around higher order insts used as modes.

    Use simply "in" as the mode of functions with the default mode
    and determinism.

    Fix a few style issues.
This commit is contained in:
Zoltan Somogyi
2023-08-15 00:19:34 +02:00
parent b1b4f9ff97
commit 5f47a8389b
30 changed files with 151 additions and 126 deletions

View File

@@ -12,6 +12,7 @@
--no-halt-at-warn-make-int
--no-halt-at-warn-make-opt
--no-warn-inferred-erroneous
--no-allow-ho-insts-as-modes
--no-mercury-stdlib-dir
--no-detect-libgrades
-I../library