diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2017-09-05 09:02:07 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2017-09-05 09:02:07 +0000 |
commit | 7ed9919dff52443091071203bf93685cf78002a3 (patch) | |
tree | b6bac242e9f042c2132f09593100f19d1ca16cc3 /gcc/ada/gcc-interface/gigi.h | |
parent | 806fcf7183377c7df062a7fa0bcf9d0ce8ea1fc0 (diff) | |
download | gcc-7ed9919dff52443091071203bf93685cf78002a3.zip gcc-7ed9919dff52443091071203bf93685cf78002a3.tar.gz gcc-7ed9919dff52443091071203bf93685cf78002a3.tar.bz2 |
gigi.h (renaming_from_generic_instantiation_p): Turn to
* gcc-interface/gigi.h (renaming_from_generic_instantiation_p): Turn to
(renaming_from_instantiation_p): ...this.
* gcc-interface/decl.c (gnat_to_gnu_entity): Use inline predicate
instead of explicit tests on kind of entities. Adjust for renaming.
(gnat_to_gnu_profile_type): Likewise.
(gnat_to_gnu_subprog_type): Likewise.
* gcc-interface/trans.c (Identifier_to_gnu): Likewise.
(Case_Statement_to_gnu): Likewise.
(gnat_to_gnu): Likewise.
(process_freeze_entity): Likewise.
(process_type): Likewise.
(add_stmt_with_node): Adjust for renaming.
* gcc-interface/utils.c (gnat_pushdecl): Adjust for renaming.
(renaming_from_generic_instantiation_p): Rename to...
(renaming_from_instantiation_p): ...this. Use inline predicate.
(pad_type_hasher::keep_cache_entry): Fold.
From-SVN: r251700
Diffstat (limited to 'gcc/ada/gcc-interface/gigi.h')
-rw-r--r-- | gcc/ada/gcc-interface/gigi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h index 0e25b61..a5084c6 100644 --- a/gcc/ada/gcc-interface/gigi.h +++ b/gcc/ada/gcc-interface/gigi.h @@ -998,7 +998,7 @@ extern int fp_size_to_prec (int size); from the parameter association for the instantiation of a generic. We do not want to emit source location for them: the code generated for their initialization is likely to disturb debugging. */ -extern bool renaming_from_generic_instantiation_p (Node_Id gnat_node); +extern bool renaming_from_instantiation_p (Node_Id gnat_node); /* Try to process all nodes in the deferred context queue. Keep in the queue the ones that cannot be processed yet, remove the other ones. If FORCE is |