Replace calls to map__set with calls to either map__det_insert or

Estimated hours taken: 3

Replace calls to map__set with calls to either map__det_insert or
map__det_update. In some cases this required a small amount of code
reorganization.
This commit is contained in:
Zoltan Somogyi
1997-04-07 05:39:59 +00:00
parent a647c32601
commit 4c3b0ecb09
36 changed files with 227 additions and 186 deletions

View File

@@ -97,10 +97,10 @@ lambda__process_proc(PredId, ProcId, ModuleInfo0, ModuleInfo) :-
ProcInfo, PredInfo1, ModuleInfo1),
pred_info_procedures(PredInfo1, ProcTable1),
map__set(ProcTable1, ProcId, ProcInfo, ProcTable),
map__det_update(ProcTable1, ProcId, ProcInfo, ProcTable),
pred_info_set_procedures(PredInfo1, ProcTable, PredInfo),
module_info_preds(ModuleInfo1, PredTable1),
map__set(PredTable1, PredId, PredInfo, PredTable),
map__det_update(PredTable1, PredId, PredInfo, PredTable),
module_info_set_preds(ModuleInfo1, PredTable, ModuleInfo).
:- pred lambda__process_proc_2(proc_info, pred_info, module_info,