diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-10-17 22:11:00 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-10-17 22:11:00 +0200 |
commit | 8e7014b45585b89418564db079f9ad469a581ea2 (patch) | |
tree | 288005a9e12bb983c162c9ab78066db8227ce818 /gcc/langhooks.h | |
parent | eaf95345d33a727885761fa48d7481405614351a (diff) | |
download | gcc-8e7014b45585b89418564db079f9ad469a581ea2.zip gcc-8e7014b45585b89418564db079f9ad469a581ea2.tar.gz gcc-8e7014b45585b89418564db079f9ad469a581ea2.tar.bz2 |
langhooks.h (struct lang_hooks): Document that tree_size langhook may be also called on tcc_type nodes.
* langhooks.h (struct lang_hooks): Document that tree_size langhook
may be also called on tcc_type nodes.
* langhooks.c (lhd_tree_size): Likewise.
* gcc-interface/misc.c (gnat_tree_size): New function.
(LANG_HOOKS_TREE_SIZE): Redefine.
From-SVN: r253829
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index b0c9829..d1288f1 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -307,10 +307,10 @@ struct lang_hooks /* Remove any parts of the tree that are used only by the FE. */ void (*free_lang_data) (tree); - /* Determines the size of any language-specific tcc_constant or - tcc_exceptional nodes. Since it is called from make_node, the - only information available is the tree code. Expected to die - on unrecognized codes. */ + /* Determines the size of any language-specific tcc_constant, + tcc_exceptional or tcc_type nodes. Since it is called from + make_node, the only information available is the tree code. + Expected to die on unrecognized codes. */ size_t (*tree_size) (enum tree_code); /* Return the language mask used for converting argv into a sequence |