diff options
author | Tristan Gingold | 2013-12-29 14:43:56 +0100 |
---|---|---|
committer | Tristan Gingold | 2013-12-29 14:43:56 +0100 |
commit | aad9a60cc0cba4ce6f626c6367d11b14dba70926 (patch) | |
tree | 51c2712cdd4db1075209dcf6d5187e486c77a55d | |
parent | c3aaf322e299e5c4f9611446c5184eb9d4f6938c (diff) | |
download | ghdl-aad9a60cc0cba4ce6f626c6367d11b14dba70926.tar.gz ghdl-aad9a60cc0cba4ce6f626c6367d11b14dba70926.tar.bz2 ghdl-aad9a60cc0cba4ce6f626c6367d11b14dba70926.zip |
Revert cs156 and cs157 (the issues are caught before).
-rw-r--r-- | iirs.adb | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -145,17 +145,6 @@ package body Iirs is -- Speed up: avoid to check that nkind is in the bounds of Iir_Kind. pragma Suppress (Range_Check); begin - if An_Iir = Null_Iir then - if Nbr_Errors = 0 then - -- calling "Failed" would get back here via Error_Kind - Error_Msg ("Cannot get kind of null object : aborting."); - raise Internal_Error; - else - Error_Msg_Sem ("Aborting compilation due to previous errors.", - An_Iir); - raise Compilation_Error; - end if; - end if; return Iir_Kind'Val (Get_Nkind (An_Iir)); end Get_Kind; |