diff options
author | Brian Drummond | 2013-12-02 17:47:55 +0000 |
---|---|---|
committer | Brian Drummond | 2013-12-02 17:47:55 +0000 |
commit | 242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435 (patch) | |
tree | 84d0be0112a16e52095d40464112eac7910ee42f | |
parent | 17dd49c8643f08dff78900e9a9db56a0ade75c55 (diff) | |
download | ghdl-242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435.tar.gz ghdl-242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435.tar.bz2 ghdl-242ee7a30d0ac1d5d5b7e59d5206f1cef30d1435.zip |
Comment out some unreachable code that stopped the mcode build
-rw-r--r-- | canon.adb | 20 | ||||
-rw-r--r-- | translate/translation.adb | 20 |
2 files changed, 20 insertions, 20 deletions
@@ -2429,16 +2429,16 @@ package body Canon is -- This code is not executed since context clauses are already -- canonicalized. El := Get_Context_Items (Unit); - while El /= Null_Iir loop - case Get_Kind (El) is - when Iir_Kind_Use_Clause => - null; - when Iir_Kind_Library_Clause => - null; - when others => - Error_Kind ("canonicalize1", El); - end case; - end loop; +-- while El /= Null_Iir loop +-- case Get_Kind (El) is +-- when Iir_Kind_Use_Clause => +-- null; +-- when Iir_Kind_Library_Clause => +-- null; +-- when others => +-- Error_Kind ("canonicalize1", El); +-- end case; +-- end loop; end if; El := Get_Library_Unit (Unit); diff --git a/translate/translation.adb b/translate/translation.adb index 88ac566..67ca578 100644 --- a/translate/translation.adb +++ b/translate/translation.adb @@ -27742,16 +27742,16 @@ package body Translation is if False then El := Get_Context_Items (Unit); - while El /= Null_Iir loop - case Get_Kind (El) is - when Iir_Kind_Use_Clause => - null; - when Iir_Kind_Library_Clause => - null; - when others => - Error_Kind ("translate1", El); - end case; - end loop; +-- while El /= Null_Iir loop +-- case Get_Kind (El) is +-- when Iir_Kind_Use_Clause => +-- null; +-- when Iir_Kind_Library_Clause => +-- null; +-- when others => +-- Error_Kind ("translate1", El); +-- end case; +-- end loop; end if; El := Get_Library_Unit (Unit); |