summaryrefslogtreecommitdiff
path: root/src/vhdl/sem_expr.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-12-26 06:26:25 +0100
committerTristan Gingold2014-12-26 06:26:25 +0100
commitcb0609778181832120ca7776dc4501b97d0ebbeb (patch)
treedd63493909b1c7ba818d9c6d9ee252812d06eb29 /src/vhdl/sem_expr.adb
parent523792edaef032f41ea8a0bb8273013ced2a9276 (diff)
downloadghdl-cb0609778181832120ca7776dc4501b97d0ebbeb.tar.gz
ghdl-cb0609778181832120ca7776dc4501b97d0ebbeb.tar.bz2
ghdl-cb0609778181832120ca7776dc4501b97d0ebbeb.zip
Rewrite sem_scopes tables for speed-up (and clarification).
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r--src/vhdl/sem_expr.adb4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb
index 311eaef..9a31452 100644
--- a/src/vhdl/sem_expr.adb
+++ b/src/vhdl/sem_expr.adb
@@ -3802,9 +3802,7 @@ package body Sem_Expr is
if E = Null_Iir then
Sem_Name (Expr);
E := Get_Named_Entity (Expr);
- if E = Null_Iir then
- raise Internal_Error;
- end if;
+ pragma Assert (E /= Null_Iir);
end if;
if E = Error_Mark then
return Null_Iir;