diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-08-21 11:14:56 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-08-21 11:14:56 +0000 |
commit | c34960677437197ee2859b243cf185c7f873c83b (patch) | |
tree | fb7a8b55c4a33c93113444dc8e97c38e7d662cc8 /gcc/tree.h | |
parent | 1ea85365b430b5ade1d0b824e5406c006e6ffdb7 (diff) | |
download | gcc-c34960677437197ee2859b243cf185c7f873c83b.zip gcc-c34960677437197ee2859b243cf185c7f873c83b.tar.gz gcc-c34960677437197ee2859b243cf185c7f873c83b.tar.bz2 |
Move vector_type_mode to tree.c
...so that it's possible to use TYPE_MODE in tree.h.
2017-08-21 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* stor-layout.h (vector_type_mode): Move to...
* tree.h (vector_type_mode): ...here.
* stor-layout.c (vector_type_mode): Move to...
* tree.c (vector_type_mode): ...here. Include rtl.h and regs.h.
From-SVN: r251221
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1852,7 +1852,8 @@ extern void protected_set_expr_location (tree, location_t); #define SET_TYPE_MODE(NODE, MODE) \ (TYPE_CHECK (NODE)->type_common.mode = (MODE)) -extern machine_mode element_mode (const_tree t); +extern machine_mode element_mode (const_tree); +extern machine_mode vector_type_mode (const_tree); /* The "canonical" type for this type node, which is used by frontends to compare the type for equality with another type. If two types are |