diff options
author | Vincent Celier <celier@adacore.com> | 2009-04-24 10:31:57 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-24 12:31:57 +0200 |
commit | 481f29eb5efa2a11682e4be46842f12ab51cb821 (patch) | |
tree | b9789783f376ae23863aa326e508ce8da7b5739c /gcc/tree-vect-loop.c | |
parent | 30349c7400289ab4b00f07c73a2d630bb28f3b23 (diff) | |
download | gcc-481f29eb5efa2a11682e4be46842f12ab51cb821.zip gcc-481f29eb5efa2a11682e4be46842f12ab51cb821.tar.gz gcc-481f29eb5efa2a11682e4be46842f12ab51cb821.tar.bz2 |
gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree
2009-04-24 Vincent Celier <celier@adacore.com>
* gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree
* prj-env.adb: Move all global variables to the private part of the
project tree data.
Access these new components instead of the global variables no longer
in existence.
(Add_To_Path): New Project_Tree_Ref parameter, to access the new
components that were previously global variables.
* prj-env.ads (Initialize): New Project_Tree_Ref parameter
(Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref
parameter.
* prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to
be able to call Set_Mapping_File_Initial_State_To_Empty with it.
* prj.adb (Initialize): Do not call Prj.Env.Initialize
(Reset): Do not call Prj.Env.Initialize. Instead, initialize the new
components in the private part of the project tree data.
* prj.ads (Private_Project_Tree_Data): new components moved from
Prj.Env: Current_Source_Path_File, Current_Object_Path_File,
Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set,
Ada_Prj_Objects_File_Set, Fill_Mapping_File.
From-SVN: r146696
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions