aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/iirs.adb.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-12-21 18:53:46 +0100
committerTristan Gingold <tgingold@free.fr>2017-12-21 18:53:46 +0100
commit9c79e3faf7ba29c9767fed41f0c7840bdedea3e9 (patch)
tree6b086b639fffcb2de952646edec723b63e8f7eed /src/vhdl/iirs.adb.in
parent6ebd66f4472f5e55c41ccf35bb13989b19006ed8 (diff)
downloadghdl-9c79e3faf7ba29c9767fed41f0c7840bdedea3e9.tar.gz
ghdl-9c79e3faf7ba29c9767fed41f0c7840bdedea3e9.tar.bz2
ghdl-9c79e3faf7ba29c9767fed41f0c7840bdedea3e9.zip
sem_inst: fix relocation of instances in instances.
Diffstat (limited to 'src/vhdl/iirs.adb.in')
-rw-r--r--src/vhdl/iirs.adb.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vhdl/iirs.adb.in b/src/vhdl/iirs.adb.in
index d25c48e29..8243f145f 100644
--- a/src/vhdl/iirs.adb.in
+++ b/src/vhdl/iirs.adb.in
@@ -208,6 +208,11 @@ package body Iirs is
return Iir (P);
end Source_Ptr_To_Iir;
+ function Iir_To_Source_File_Entry is new Ada.Unchecked_Conversion
+ (Source => Iir, Target => Source_File_Entry);
+ function Source_File_Entry_To_Iir is new Ada.Unchecked_Conversion
+ (Source => Source_File_Entry, Target => Iir);
+
function Boolean_To_Iir_Delay_Mechanism is new Ada.Unchecked_Conversion
(Source => Boolean, Target => Iir_Delay_Mechanism);
function Iir_Delay_Mechanism_To_Boolean is new Ada.Unchecked_Conversion