diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-12-08 04:58:44 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-08 05:01:44 +0100 |
commit | cacbbf89168ff6d693a809a8a4a79add27c651bc (patch) | |
tree | 742195d02dbc3a64b2180332d87c17b8d6a0af00 /src/vhdl | |
parent | 5e59616b942a5aeecca59c54142763aa0e61a3e3 (diff) | |
download | ghdl-cacbbf89168ff6d693a809a8a4a79add27c651bc.tar.gz ghdl-cacbbf89168ff6d693a809a8a4a79add27c651bc.tar.bz2 ghdl-cacbbf89168ff6d693a809a8a4a79add27c651bc.zip |
sem_inst: set hash for interface subprograms.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/sem_inst.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/sem_inst.adb b/src/vhdl/sem_inst.adb index b396e6327..c60c6f231 100644 --- a/src/vhdl/sem_inst.adb +++ b/src/vhdl/sem_inst.adb @@ -21,6 +21,7 @@ with Types; use Types; with Files_Map; with Iirs_Utils; use Iirs_Utils; with Errorout; use Errorout; +with Sem; package body Sem_Inst is -- Table of origin. This is an extension of vhdl nodes to track the @@ -573,7 +574,7 @@ package body Sem_Inst is when Iir_Kind_Interface_Type_Declaration => Set_Type (Res, Get_Type (Inter)); when Iir_Kinds_Interface_Subprogram_Declaration => - null; + Sem.Compute_Subprogram_Hash (Res); when others => Error_Kind ("instantiate_generic_chain", Res); end case; |