Move vector_type_mode to tree.c
authorRichard Sandiford <richard.sandiford@linaro.org>
Mon, 21 Aug 2017 11:14:56 +0000 (11:14 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 21 Aug 2017 11:14:56 +0000 (11:14 +0000)
commitc34960677437197ee2859b243cf185c7f873c83b
treefb7a8b55c4a33c93113444dc8e97c38e7d662cc8
parent1ea85365b430b5ade1d0b824e5406c006e6ffdb7
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
gcc/ChangeLog
gcc/stor-layout.c
gcc/stor-layout.h
gcc/tree.c
gcc/tree.h