diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-05-22 15:01:37 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-05-22 15:01:37 +0200 |
commit | ee93527368e112d1f2a9b0e739fc513eff3e048e (patch) | |
tree | 8b36160fdde6190f5222ddb6061d762b8c0ecc3d /gcc/ada/einfo.ads | |
parent | 5c0c1090a714cb4b89f11d5333efd61dea5267f2 (diff) | |
download | gcc-ee93527368e112d1f2a9b0e739fc513eff3e048e.zip gcc-ee93527368e112d1f2a9b0e739fc513eff3e048e.tar.gz gcc-ee93527368e112d1f2a9b0e739fc513eff3e048e.tar.bz2 |
[multiple changes]
2015-05-22 Robert Dewar <dewar@adacore.com>
* einfo.ads: Minor comment updates.
* exp_unst.adb: Move Subps table to spec Don't remove old entries
from table Add Last field to record last entry used.
* exp_unst.ads: Move Subps table here from body So that Cprint
can access saved values.
2015-05-22 Bob Duff <duff@adacore.com>
* a-cdlili.adb, a-cdlili.ads, a-cohama.adb, a-cohama.ads,
* a-cohase.adb, a-cohase.ads, a-convec.adb, a-convec.ads,
* a-coorma.adb, a-coorma.ads, a-coorse.adb, a-coorse.ads:
(Pseudo_Reference, Element_Access, Get_Element_Access): New
declarations added for use by performance improvements in exp_ch5.adb.
* snames.ads-tmpl: New names referenced by exp_ch5.adb.
* exp_ch5.adb: Speed up "for ... of" loops for predefined containers.
Instead of doing literally what the RM calls for, we do something
equivalent that avoids expensive operations inside the loop. If the
container package has appropriate Next, Pseudo_Reference,
Element_Access, Get_Element_Access declarations, we invoke the
optimization.
* snames.ads-tmpl: Note speed improvement.
From-SVN: r223563
Diffstat (limited to 'gcc/ada/einfo.ads')
-rw-r--r-- | gcc/ada/einfo.ads | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads index 4f54106..5d87655 100644 --- a/gcc/ada/einfo.ads +++ b/gcc/ada/einfo.ads @@ -4201,8 +4201,11 @@ package Einfo is -- names to access entries in this list. -- Subps_Index (Uint24) --- Used during Exp_Inst.Unnest_Subprogram to hold the index in the Subps --- table for a subprogram. See processing in this procedure for details. +-- Present in subprogram entries. Set if the subprogram contains nested +-- subprograms, or is a subprogram nested within such a subprogram. Holds +-- the index in the Exp_Unst.Subps table for the subprogram. Note that +-- for the outer level subprogram, this is the starting index in the Subp +-- table for the entries for this subprogram. -- Suppress_Elaboration_Warnings (Flag148) -- Defined in all entities, can be set only for subprogram entities and |