aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_expr.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r--src/vhdl/sem_expr.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb
index e08fc5940..c75a78823 100644
--- a/src/vhdl/sem_expr.adb
+++ b/src/vhdl/sem_expr.adb
@@ -31,6 +31,7 @@ with Iir_Chains; use Iir_Chains;
with Sem_Types;
with Sem_Stmts; use Sem_Stmts;
with Sem_Assocs; use Sem_Assocs;
+with Sem_Decls;
with Xrefs; use Xrefs;
package body Sem_Expr is
@@ -1173,7 +1174,7 @@ package body Sem_Expr is
Subprg : constant Iir := Get_Current_Subprogram;
begin
Set_Function_Call_Staticness (Expr, Imp);
- Mark_Subprogram_Used (Imp);
+ Sem_Decls.Mark_Subprogram_Used (Imp);
-- Check purity/wait/passive.