mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +00:00
mdbcomp/mdbcomp.goal_path.m:
As above. Instead of using -1 to represent invalid goal_ids, 0 to
represent whole body goals, and higher values to represent subgoals,
use 0 to represent invalid goal_ids, 1 to represent whole body goals,
and higher values to represent subgoals.
Add a function to return invalid goal_ids, to avoid the need
for knowledge of this scheme outside this module.
compiler/build_mode_constraints.m:
compiler/closure_gen.m:
compiler/coverage_profiling.m:
compiler/goal_path.m:
compiler/hlds_goal.m:
compiler/hlds_out_goal.m:
compiler/hlds_out_pred.m:
compiler/mode_constraint_robdd.m:
compiler/mode_constraints.m:
compiler/ordering_mode_constraints.m:
compiler/state_var.m:
compiler/unneeded_code.m:
deep_profiler/program_representation_utils.m:
Conform to the changes above.