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:
Zoltan Somogyi
2000-08-21 09:42:01 +00:00
parent e09bc6ac12
commit c32e129db0
2 changed files with 25 additions and 17 deletions

View File

@@ -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)
;