mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-16 22:35:41 +00:00
Add field names for the proc_layout_info type.
Estimated hours taken: 1 compiler/continuation_info.m: Add field names for the proc_layout_info type. compiler/optimize.m: Use the new field names.
This commit is contained in:
@@ -53,8 +53,7 @@ optimize__proc(CProc0, GlobalData, CProc) -->
|
||||
global_data_maybe_get_proc_layout(GlobalData, PredProcId,
|
||||
ProcLayout)
|
||||
->
|
||||
ProcLayout = proc_layout_info(_, _, _, _, _, _, _, _,
|
||||
LabelMap),
|
||||
LabelMap = ProcLayout^internal_map,
|
||||
map__sorted_keys(LabelMap, LayoutLabels),
|
||||
set__sorted_list_to_set(LayoutLabels, LayoutLabelSet)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user