diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-10-17 06:18:36 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-10-21 08:03:37 +0200 |
commit | ed7ad157dbecc784bb2df44684442e88431db561 (patch) | |
tree | 491533354ca2add405e08869f66c1c74622f97d7 /src/vhdl/translate/trans-chap12.adb | |
parent | 13000af67c96c2a3417fa321daa3fbf50165f54f (diff) | |
download | ghdl-ed7ad157dbecc784bb2df44684442e88431db561.tar.gz ghdl-ed7ad157dbecc784bb2df44684442e88431db561.tar.bz2 ghdl-ed7ad157dbecc784bb2df44684442e88431db561.zip |
Rework translation of unbounded and complex types.
Diffstat (limited to 'src/vhdl/translate/trans-chap12.adb')
-rw-r--r-- | src/vhdl/translate/trans-chap12.adb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/vhdl/translate/trans-chap12.adb b/src/vhdl/translate/trans-chap12.adb index cad732752..dfd50856c 100644 --- a/src/vhdl/translate/trans-chap12.adb +++ b/src/vhdl/translate/trans-chap12.adb @@ -85,11 +85,9 @@ package body Trans.Chap12 is (Assoc, New_Lit (New_Unsigned_Literal (Ghdl_Index_Type, Unsigned_64 (Elab_Nbr_Pkgs)))); New_Association - (Assoc, New_Lit (New_Global_Address - (Pkgs_Arr, Rtis.Ghdl_Rti_Arr_Acc))); + (Assoc, New_Address (New_Obj (Pkgs_Arr), Rtis.Ghdl_Rti_Arr_Acc)); New_Association - (Assoc, - New_Lit (Rtis.New_Rti_Address (Get_Info (Arch).Block_Rti_Const))); + (Assoc, Rtis.New_Rti_Address (Get_Info (Arch).Block_Rti_Const)); New_Association (Assoc, New_Convert_Ov (Arch_Instance, Ghdl_Ptr_Type)); New_Procedure_Call (Assoc); @@ -98,8 +96,7 @@ package body Trans.Chap12 is Start_Association (Assoc, Ghdl_Rti_Add_Package); New_Association (Assoc, - New_Lit (Rtis.New_Rti_Address - (Get_Info (Standard_Package).Package_Rti_Const))); + Rtis.New_Rti_Address (Get_Info (Standard_Package).Package_Rti_Const)); New_Procedure_Call (Assoc); end Call_Elab_Decls; |