aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/inline.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/inline.ads')
-rw-r--r--gcc/ada/inline.ads8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/inline.ads b/gcc/ada/inline.ads
index ed342f5..51eab9c 100644
--- a/gcc/ada/inline.ads
+++ b/gcc/ada/inline.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2020, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -227,6 +227,12 @@ package Inline is
-- Check a list of statements, Stats, that make inlining of Subp not
-- worthwhile, including any tasking statement, nested at any level.
+ procedure Inline_Static_Function_Call
+ (N : Node_Id; Subp : Entity_Id);
+ -- Evaluate static call to a static function Subp, substituting actuals in
+ -- place of references to their corresponding formals and rewriting the
+ -- call N as a fully folded and static result expression.
+
procedure List_Inlining_Info;
-- Generate listing of calls inlined by the frontend plus listing of
-- calls to inline subprograms passed to the backend.