aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-02 19:02:19 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-02 19:02:19 +0200
commitc851b365a40b7643346beece274b1ba81d9af5e5 (patch)
treecdf49bee56590b4aee8ad76befc2115115f0972a /src
parent86a35becd584aaa8d09ce1e677c363dd66a40774 (diff)
downloadghdl-c851b365a40b7643346beece274b1ba81d9af5e5.tar.gz
ghdl-c851b365a40b7643346beece274b1ba81d9af5e5.tar.bz2
ghdl-c851b365a40b7643346beece274b1ba81d9af5e5.zip
synth-expr: remove useless code.
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-expr.adb6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/synth/synth-expr.adb b/src/synth/synth-expr.adb
index 0bb7f122f..96c77d13a 100644
--- a/src/synth/synth-expr.adb
+++ b/src/synth/synth-expr.adb
@@ -710,11 +710,7 @@ package body Synth.Expr is
end if;
return Synth_Compare (Id_Eq);
when Iir_Predefined_Enum_Inequality =>
- if Is_Bit_Type (Ltype) then
- pragma Assert (Is_Bit_Type (Rtype));
- -- TODO
- raise Internal_Error;
- end if;
+ -- TODO: Optimize ?
return Synth_Compare (Id_Ne);
when Iir_Predefined_Enum_Less_Equal =>
return Synth_Compare (Id_Ult);