diff options
Diffstat (limited to 'gcc/ada/ali-util.adb')
-rw-r--r-- | gcc/ada/ali-util.adb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/ada/ali-util.adb b/gcc/ada/ali-util.adb index 98f79ba..40e2276 100644 --- a/gcc/ada/ali-util.adb +++ b/gcc/ada/ali-util.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2013, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2014, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -194,7 +194,7 @@ package body ALI.Util is -- This loop is empty and harmless the first time in. for J in Source.First .. Source.Last loop - Set_Name_Table_Info (Source.Table (J).Sfile, 0); + Set_Name_Table_Int (Source.Table (J).Sfile, 0); Source.Table (J).Source_Found := False; end loop; @@ -236,7 +236,7 @@ package body ALI.Util is -- file has not been processed already. if Afile /= No_File - and then Get_Name_Table_Info (Afile) = 0 + and then Get_Name_Table_Int (Afile) = 0 then Text := Read_Library_Info (Afile); @@ -251,7 +251,7 @@ package body ALI.Util is Error_Msg_File_1 := Afile; Error_Msg_File_2 := Withs.Table (W).Sfile; Error_Msg ("{ not found, { must be compiled"); - Set_Name_Table_Info (Afile, Int (No_Unit_Id)); + Set_Name_Table_Int (Afile, Int (No_Unit_Id)); return; end if; @@ -272,7 +272,7 @@ package body ALI.Util is then Error_Msg_File_1 := Withs.Table (W).Sfile; Error_Msg ("{ had errors, must be fixed, and recompiled"); - Set_Name_Table_Info (Afile, Int (No_Unit_Id)); + Set_Name_Table_Int (Afile, Int (No_Unit_Id)); -- In GNATprove mode, object files are never generated, so -- No_Object=True is not considered an error. @@ -283,7 +283,7 @@ package body ALI.Util is then Error_Msg_File_1 := Withs.Table (W).Sfile; Error_Msg ("{ must be recompiled"); - Set_Name_Table_Info (Afile, Int (No_Unit_Id)); + Set_Name_Table_Int (Afile, Int (No_Unit_Id)); end if; -- If the Unit is an Interface to a Stand-Alone Library, @@ -337,10 +337,10 @@ package body ALI.Util is -- If this is the first time we are seeing this source file, -- then make a new entry in the source table. - if Get_Name_Table_Info (F) = 0 then + if Get_Name_Table_Int (F) = 0 then Source.Increment_Last; S := Source.Last; - Set_Name_Table_Info (F, Int (S)); + Set_Name_Table_Int (F, Int (S)); Source.Table (S).Sfile := F; Source.Table (S).All_Timestamps_Match := True; @@ -393,7 +393,7 @@ package body ALI.Util is -- so that the source table entry is already constructed. else - S := Source_Id (Get_Name_Table_Info (F)); + S := Source_Id (Get_Name_Table_Int (F)); -- Update checksum flag @@ -451,7 +451,7 @@ package body ALI.Util is -- Set the checksum value in the source table - S := Source_Id (Get_Name_Table_Info (F)); + S := Source_Id (Get_Name_Table_Int (F)); Source.Table (S).Checksum := Sdep.Table (D).Checksum; end if; @@ -482,7 +482,7 @@ package body ALI.Util is begin for D in ALIs.Table (A).First_Sdep .. ALIs.Table (A).Last_Sdep loop - Src := Source_Id (Get_Name_Table_Info (Sdep.Table (D).Sfile)); + Src := Source_Id (Get_Name_Table_Int (Sdep.Table (D).Sfile)); if Opt.Minimal_Recompilation and then Sdep.Table (D).Stamp /= Source.Table (Src).Stamp |