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-chap9.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-chap9.adb')
-rw-r--r-- | src/vhdl/translate/trans-chap9.adb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vhdl/translate/trans-chap9.adb b/src/vhdl/translate/trans-chap9.adb index 10bd3233f..669f86ee4 100644 --- a/src/vhdl/translate/trans-chap9.adb +++ b/src/vhdl/translate/trans-chap9.adb @@ -925,7 +925,7 @@ package body Trans.Chap9 is (New_Selected_Element (Get_Instance_Ref (Ref_Scope), Comp_Field), Rtis.Ghdl_Component_Link_Stmt), - New_Lit (Rtis.Get_Context_Rti (Stmt))); + Rtis.Get_Context_Rti (Stmt)); end Set_Component_Link; Info : constant Block_Info_Acc := Get_Info (Stmt); @@ -2523,9 +2523,8 @@ package body Trans.Chap9 is New_Association (Assoc, New_Convert_Ov (New_Value (M2Lv (Targ)), Ghdl_Signal_Ptr)); New_Association - (Assoc, - New_Lit (New_Global_Unchecked_Address - (Get_Info (Sig).Signal_Rti, Rtis.Ghdl_Rti_Access))); + (Assoc, New_Unchecked_Address (New_Obj (Get_Info (Sig).Signal_Rti), + Rtis.Ghdl_Rti_Access)); New_Procedure_Call (Assoc); end Merge_Signals_Rti_Non_Composite; |