diff options
author | Sebastian Poeplau <poeplau@adacore.com> | 2023-11-07 13:28:25 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-11-28 10:35:47 +0100 |
commit | d2f2b9e6f9bcc2398f7e9a5a42dfa55053bdb0bf (patch) | |
tree | e067076967a117d163fd494d02aacdc4a49e12b4 /gcc/tree.cc | |
parent | 8ba9430bc41fcf60de936746ebfa27928bcdabc3 (diff) | |
download | gcc-d2f2b9e6f9bcc2398f7e9a5a42dfa55053bdb0bf.zip gcc-d2f2b9e6f9bcc2398f7e9a5a42dfa55053bdb0bf.tar.gz gcc-d2f2b9e6f9bcc2398f7e9a5a42dfa55053bdb0bf.tar.bz2 |
ada: Add new predicate Is_Address_Compatible_Type
When emitting code for architectures with tagged pointers, it is useful
to be able to recognize values representing addresses because they
require special handling. This commits adds the predicate
Is_Address_Compatible_Type, which differs from the node attribute
Is_Descendant_Of_Address by also taking Standard_Address into account.
gcc/ada/
* einfo-utils.ads, einfo-utils.adb (Is_Address_Compatible_Type):
New function.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions