aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-12-01 18:47:01 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-06-10 11:03:58 +0200
commit8ce93cc22e06639ff82d2ec9e75da1f998dc70ad (patch)
tree77ad556f47f52cd9e68733e48f4a23ed89eb47ed /gcc/ada/debug.adb
parenta53e5e7aee9af007943f8a96aec00fce343dab57 (diff)
downloadgcc-8ce93cc22e06639ff82d2ec9e75da1f998dc70ad.zip
gcc-8ce93cc22e06639ff82d2ec9e75da1f998dc70ad.tar.gz
gcc-8ce93cc22e06639ff82d2ec9e75da1f998dc70ad.tar.bz2
ada: Refactor common code for dynamic and static class-wide preconditions
Code cleanup; semantics is unaffected. gcc/ada/ * exp_ch6.adb (Install_Class_Preconditions_Check): Refactor common code for checking if precondition fails, since the difference is only in raising an exception or calling the Raise_Assert_Failure procedure.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions