aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2022-02-24 17:30:36 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-13 08:04:41 +0000
commit4c9a8183b3469f50c9418a2309e56b37cbac9f9f (patch)
tree28c7c3b4bf906b1f675a91b4c935127ff6c0d99a /gcc/ada/gcc-interface
parentf8e12e78628238a9e3cf68ce9376aa2e28e0506f (diff)
downloadgcc-4c9a8183b3469f50c9418a2309e56b37cbac9f9f.zip
gcc-4c9a8183b3469f50c9418a2309e56b37cbac9f9f.tar.gz
gcc-4c9a8183b3469f50c9418a2309e56b37cbac9f9f.tar.bz2
[Ada] Simplify helper units for formal hashed sets/maps
As tampering checks do not exist in formal hashed sets and maps, remove the machinery for such checks in the version of generic key and node operations for formal sets/maps. Update comments as well. gcc/ada/ * libgnat/a-chtgfk.adb (Checked_Equivalent_Keys, Checked_Index): Remove useless functions. (Delete_Key_Sans_Free, Find, Generic_Conditional_Insert): Adapt to removal of wrapper functions. * libgnat/a-chtgfk.ads (Checked_Equivalent_Keys, Checked_Index): Remove useless functions. * libgnat/a-chtgfo.adb (Checked_Index): Remove useless function. (Clear): Delete code commented out regarding Busy and Lock management. (Delete_Node_At_Index): Delete unused procedure. (Delete_Node_Sans_Free, Free, Generic_Read, Next): Adapt to removal of wrapper functions. * libgnat/a-chtgfo.ads (Checked_Index): Remove useless function. (Delete_Node_At_Index): Delete unused procedure.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions