1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
11 -- Copyright (C) 1992-1999 Free Software Foundation, Inc. --
13 -- GNAT is free software; you can redistribute it and/or modify it under --
14 -- terms of the GNU General Public License as published by the Free Soft- --
15 -- ware Foundation; either version 2, or (at your option) any later ver- --
16 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
19 -- for more details. You should have received a copy of the GNU General --
20 -- Public License distributed with GNAT; see file COPYING. If not, write --
21 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
22 -- MA 02111-1307, USA. --
24 -- As a special exception, if other files instantiate generics from this --
25 -- unit, or you link this unit with other files to produce an executable, --
26 -- this unit does not by itself cause the resulting executable to be --
27 -- covered by the GNU General Public License. This exception does not --
28 -- however invalidate any other reasons why the executable file might be --
29 -- covered by the GNU Public License. --
31 -- GNAT was originally developed by the GNAT team at New York University. --
32 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
34 ------------------------------------------------------------------------------
36 -- This package contains definitions for initial sizes and growth increments
37 -- for the various dynamic arrays used for principle compiler data strcutures.
38 -- The indicated initial size is allocated for the start of each file, and
39 -- the increment factor is a percentage used to increase the table size when
40 -- it needs expanding (e.g. a value of 100 = 100% increase = double)
42 -- Note: the initial values here are multiplied by Table_Factor, as set
43 -- by the -gnatTnn switch. This variable is defined in Opt, as is the
44 -- default value for the table factor.
48 -- The comment shows the unit in which the table is defined
50 All_Interp_Initial
: constant := 1_000
; -- Sem_Type
51 All_Interp_Increment
: constant := 100;
53 Branches_Initial
: constant := 1_000
; -- Sem_Warn
54 Branches_Increment
: constant := 100;
56 Conditionals_Initial
: constant := 1_000
; -- Sem_Warn
57 Conditionals_Increment
: constant := 100;
59 Conditional_Stack_Initial
: constant := 50; -- Sem_Warn
60 Conditional_Stack_Increment
: constant := 100;
62 Elists_Initial
: constant := 200; -- Elists
63 Elists_Increment
: constant := 100;
65 Elmts_Initial
: constant := 1_200
; -- Elists
66 Elmts_Increment
: constant := 100;
68 Entity_Suppress_Initial
: constant := 100; -- Sem
69 Entity_Suppress_Increment
: constant := 200;
71 Inlined_Bodies_Initial
: constant := 50; -- Inline
72 Inlined_Bodies_Increment
: constant := 200;
74 Inlined_Initial
: constant := 100; -- Inline
75 Inlined_Increment
: constant := 100;
77 Interp_Map_Initial
: constant := 200; -- Sem_Type
78 Interp_Map_Increment
: constant := 100;
80 Lines_Initial
: constant := 500; -- Sinput
81 Lines_Increment
: constant := 150;
83 Linker_Option_Lines_Initial
: constant := 5; -- Lib
84 Linker_Option_Lines_Increment
: constant := 200;
86 Lists_Initial
: constant := 4_000
; -- Nlists
87 Lists_Increment
: constant := 200;
89 Load_Stack_Initial
: constant := 10; -- Lib
90 Load_Stack_Increment
: constant := 100;
92 Name_Chars_Initial
: constant := 50_000
; -- Namet
93 Name_Chars_Increment
: constant := 100;
95 Name_Qualify_Units_Initial
: constant := 200; -- Exp_Dbug
96 Name_Qualify_Units_Increment
: constant := 300;
98 Names_Initial
: constant := 6_000
; -- Namet
99 Names_Increment
: constant := 100;
101 Nodes_Initial
: constant := 50_000
; -- Atree
102 Nodes_Increment
: constant := 100;
104 Orig_Nodes_Initial
: constant := 50_000
; -- Atree
105 Orig_Nodes_Increment
: constant := 100;
107 Pending_Instantiations_Initial
: constant := 10; -- Inline
108 Pending_Instantiations_Increment
: constant := 100;
110 Rep_Table_Initial
: constant := 1000; -- Repinfo
111 Rep_Table_Increment
: constant := 200;
113 Scope_Stack_Initial
: constant := 10; -- Sem
114 Scope_Stack_Increment
: constant := 200;
116 SFN_Table_Initial
: constant := 10; -- Fname
117 SFN_Table_Increment
: constant := 200;
119 Source_File_Initial
: constant := 10; -- Sinput
120 Source_File_Increment
: constant := 200;
122 String_Chars_Initial
: constant := 2_500
; -- Stringt
123 String_Chars_Increment
: constant := 150;
125 Strings_Initial
: constant := 5_00
; -- Stringt
126 Strings_Increment
: constant := 150;
128 Successors_Initial
: constant := 2_00
; -- Inline
129 Successors_Increment
: constant := 100;
131 Udigits_Initial
: constant := 10_000
; -- Uintp
132 Udigits_Increment
: constant := 100;
134 Uints_Initial
: constant := 5_000
; -- Uintp
135 Uints_Increment
: constant := 100;
137 Units_Initial
: constant := 30; -- Lib
138 Units_Increment
: constant := 100;
140 Ureals_Initial
: constant := 200; -- Urealp
141 Ureals_Increment
: constant := 100;
143 Unreferenced_Entities_Initial
: constant := 1_000
; -- Sem_Warn
144 Unreferenced_Entities_Increment
: constant := 100;
146 With_List_Initial
: constant := 10; -- Features
147 With_List_Increment
: constant := 300;
149 Xrefs_Initial
: constant := 5_000
; -- Cross-refs
150 Xrefs_Increment
: constant := 300;