aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth')
-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);