mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
The only significant change in this checkin is that liveness.m now
Estimated hours taken: 0.5 The only significant change in this checkin is that liveness.m now tries to compute the best resume_locs for negations (it already did for if-then-elses and disjunctions; leaving out negations was an oversight in my earlier checkin). The other changes are only syntactic: I have removed the cont-lives and nondet-lives field from goal_info, since they are not used anymore. I have replaced the nondet-lives field in code_info, which is not used anymore, with a follow-vars field, which is not used yet (but will be). Some of the "read" access predicates in hlds_goal did not have "get" in their name; I added them.
This commit is contained in:
@@ -300,7 +300,7 @@ lambda__transform_lambda(PredOrFunc, Vars, Modes, Detism, OrigNonLocals0,
|
||||
string__append("__LambdaGoal__", LambdaCountStr, PName0),
|
||||
string__append(ModuleName, PName0, PName),
|
||||
PredName = qualified(ModuleName, PName),
|
||||
goal_info_context(LambdaGoalInfo, LambdaContext),
|
||||
goal_info_get_context(LambdaGoalInfo, LambdaContext),
|
||||
% the TVarSet is a superset of what it really ought be,
|
||||
% but that shouldn't matter
|
||||
lambda__uni_modes_to_modes(UniModes, OrigArgModes),
|
||||
|
||||
Reference in New Issue
Block a user