Make_Access_To_Object_Definition (Loc,
All_Present => True,
Null_Exclusion_Present => False,
- Constant_Present => False,
Subtype_Indication =>
New_Occurrence_Of (Rec_Type, Loc)))));
Make_Access_To_Object_Definition (Loc,
All_Present => True,
Null_Exclusion_Present => False,
- Constant_Present => False,
Subtype_Indication =>
New_Occurrence_Of (Desig_Typ, Loc)));
Make_Access_To_Object_Definition (Loc,
All_Present => True,
Null_Exclusion_Present => False,
- Constant_Present => False,
Subtype_Indication =>
New_Occurrence_Of (Ftyp, Loc)));
if not Building_Static_DT (Typ) then
-- Generate:
- -- DT : No_Dispatch_Table_Wrapper;
+ -- DT : aliased No_Dispatch_Table_Wrapper;
-- DT_Ptr : Tag := !Tag (DT.NDT_Prims_Ptr'Address);
if not Has_DT (Typ) then
Make_Object_Declaration (Loc,
Defining_Identifier => DT,
Aliased_Present => True,
- Constant_Present => False,
Object_Definition =>
New_Occurrence_Of
(RTE (RE_No_Dispatch_Table_Wrapper), Loc)));
end if;
-- Generate:
- -- DT : Dispatch_Table_Wrapper (Nb_Prim);
+ -- DT : aliased Dispatch_Table_Wrapper (Nb_Prim);
-- DT_Ptr : Tag := !Tag (DT.Prims_Ptr'Address);
else
Make_Object_Declaration (Loc,
Defining_Identifier => DT,
Aliased_Present => True,
- Constant_Present => False,
Object_Definition =>
Make_Subtype_Indication (Loc,
Subtype_Mark =>