diff options
author | Bob Duff <duff@adacore.com> | 2023-01-13 16:10:44 -0500 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-15 11:36:43 +0200 |
commit | 2b38d009954b8e46adcb4b02a29ee631efd300ae (patch) | |
tree | 081575a924149a4ef524663521df036ba2453653 /gcc | |
parent | d41df0366e6dfbdc3a5a50577462a9b6689ebbfb (diff) | |
download | gcc-2b38d009954b8e46adcb4b02a29ee631efd300ae.zip gcc-2b38d009954b8e46adcb4b02a29ee631efd300ae.tar.gz gcc-2b38d009954b8e46adcb4b02a29ee631efd300ae.tar.bz2 |
ada: Fix comment related to inlining
Correction to previous check-in: Remove comment about
Proc_Next_... procedures, which were deleted.
gcc/ada/
* einfo-utils.ads: Remove comment.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/einfo-utils.ads | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/einfo-utils.ads b/gcc/ada/einfo-utils.ads index 0286654..1749946 100644 --- a/gcc/ada/einfo-utils.ads +++ b/gcc/ada/einfo-utils.ads @@ -368,9 +368,7 @@ package Einfo.Utils is -- Iterators -- --------------- - -- The call to Next_xxx (obj) is equivalent to obj := Next_xxx (obj) - -- We define the set of Proc_Next_xxx routines simply for the purposes - -- of inlining them without necessarily inlining the function. + -- Next_xxx (obj) is equivalent to obj := Next_xxx (obj) procedure Next_Component (N : in out Node_Id) with Inline; procedure Next_Component_Or_Discriminant (N : in out Node_Id) with Inline; |