aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/simul/simul-vhdl_simul.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simul/simul-vhdl_simul.adb b/src/simul/simul-vhdl_simul.adb
index 38cd2d925..989ae0e30 100644
--- a/src/simul/simul-vhdl_simul.adb
+++ b/src/simul/simul-vhdl_simul.adb
@@ -3544,6 +3544,7 @@ package body Simul.Vhdl_Simul is
elsif Get_Expr_Staticness (Get_Actual (C.Assoc)) >= Globally
then
Mark_Expr_Pool (Marker);
+ Instance_Pool := Process_Pool'Access;
Val := Synth.Vhdl_Expr.Synth_Expression_With_Type
(C.Assoc_Inst, Get_Actual (C.Assoc), C.Formal.Typ);
Val := Strip_Alias_Const (Val);
@@ -3552,6 +3553,7 @@ package body Simul.Vhdl_Simul is
C.Formal.Offs.Net_Off),
C.Formal.Typ,
Val.Val.Mem);
+ Instance_Pool := null;
Release_Expr_Pool (Marker);
end if;
end if;