[Ada] Fix comment about mapping of parameters and inlining static funcs
Commit Message
Fix glitch in a cross-reference in comment.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* inline.adb (Replace_Formal): Fix name of the referenced routine.
@@ -4699,8 +4699,9 @@ package body Inline is
procedure Inline_Static_Function_Call (N : Node_Id; Subp : Entity_Id) is
function Replace_Formal (N : Node_Id) return Traverse_Result;
- -- Replace each occurrence of a formal with the corresponding actual,
- -- using the mapping created by Establish_Mapping_For_Inlined_Call.
+ -- Replace each occurrence of a formal with the
+ -- corresponding actual, using the mapping created
+ -- by Establish_Actual_Mapping_For_Inlined_Call.
function Reset_Sloc (Nod : Node_Id) return Traverse_Result;
-- Reset the Sloc of a node to that of the call itself, so that errors