diff options
author | Bob Duff <duff@adacore.com> | 2021-08-09 19:06:18 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-01 06:13:36 +0000 |
commit | a6fe12b0a9a375e655945ff385810661d8bb494c (patch) | |
tree | 56f4b101a3296d6c88ae641309ba536ebbd728be /gcc/ada/output.ads | |
parent | e0ab2003576fd34f37afbf5cd39d714b261f3f05 (diff) | |
download | gcc-a6fe12b0a9a375e655945ff385810661d8bb494c.zip gcc-a6fe12b0a9a375e655945ff385810661d8bb494c.tar.gz gcc-a6fe12b0a9a375e655945ff385810661d8bb494c.tar.bz2 |
[Ada] Info. gathering in preparation for more efficiency improvements
gcc/ada/
* atree.adb: Gather and print statistics about frequency of
getter and setter calls.
* atree.ads (Print_Statistics): New procedure for printing
statistics.
* debug.adb: Document -gnatd.A switch.
* gen_il-gen.adb: Generate code for statistics gathering.
Choose the offset of Homonym early. Misc cleanup. Put more
comments in the generated code.
* gen_il-internals.ads (Unknown_Offset): New value to indicate
that the offset has not yet been chosen.
* gnat1drv.adb: Call Print_Statistics.
* libgnat/s-imglli.ads: Minor comment fix.
* output.ads (Write_Int_64): New procedure to write a 64-bit
value. Needed for new statistics, and could come in handy
elsewhere.
* output.adb (Write_Int_64): Likewise.
* sinfo.ads: Remove obsolete comment. The xtreeprs program no
longer exists.
* types.ads: New 64-bit types needed for new statistics.
Diffstat (limited to 'gcc/ada/output.ads')
-rw-r--r-- | gcc/ada/output.ads | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/output.ads b/gcc/ada/output.ads index 6a36533..5058d6d 100644 --- a/gcc/ada/output.ads +++ b/gcc/ada/output.ads @@ -124,6 +124,7 @@ package Output is -- Similar as Write_Eol, except that trailing spaces are not removed procedure Write_Int (Val : Int); + procedure Write_Int_64 (Val : Int_64); -- Write an integer value with no leading blanks or zeroes. Negative values -- are preceded by a minus sign). |