diff options
author | Tristan Gingold | 2014-12-05 06:07:01 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-12-05 06:07:01 +0100 |
commit | 94fc2d91a57a3bbd89798c2c62cb0bd588fb21ed (patch) | |
tree | c638d83aa7fecb01fc676e13ca6b309dcd43b7d3 /src/vhdl/translate/trans-chap2.adb | |
parent | d2ab4a1f39f27c9379472dc491021f36c3b72b75 (diff) | |
download | ghdl-94fc2d91a57a3bbd89798c2c62cb0bd588fb21ed.tar.gz ghdl-94fc2d91a57a3bbd89798c2c62cb0bd588fb21ed.tar.bz2 ghdl-94fc2d91a57a3bbd89798c2c62cb0bd588fb21ed.zip |
Fix llvm crash on protected objects.
Diffstat (limited to 'src/vhdl/translate/trans-chap2.adb')
-rw-r--r-- | src/vhdl/translate/trans-chap2.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans-chap2.adb b/src/vhdl/translate/trans-chap2.adb index c4845a0..1524a08 100644 --- a/src/vhdl/translate/trans-chap2.adb +++ b/src/vhdl/translate/trans-chap2.adb @@ -1255,7 +1255,7 @@ package body Trans.Chap2 is procedure Declare_Inst_Type_And_Ptr (Scope : Var_Scope_Acc; Ptr_Type : out O_Tnode) is begin - Predeclare_Scope_Type (Scope, Create_Identifier ("INSTTYPE")); + Predeclare_Scope_Type (Scope.all, Create_Identifier ("INSTTYPE")); Declare_Scope_Acc (Scope.all, Create_Identifier ("INSTPTR"), Ptr_Type); end Declare_Inst_Type_And_Ptr; |