]> git.ipfire.org Git - thirdparty/gcc.git/commit
riscv: Move address classification info types to riscv-protos.h
authorChristoph Müllner <christoph.muellner@vrull.eu>
Mon, 24 Apr 2023 21:42:50 +0000 (23:42 +0200)
committerKito Cheng <kito.cheng@sifive.com>
Wed, 12 Jul 2023 08:12:28 +0000 (16:12 +0800)
commit96ad6ab29b3d6d8646c97760cc87a17f405e09d2
tree8b5c013f28a12fb552e015e19dd9eaa0801993ed
parenta3480aacc4ab01651725a63e05829a43bc23d549
riscv: Move address classification info types to riscv-protos.h

enum riscv_address_type and struct riscv_address_info are used
to store address classification information. Let's move this types
into our common header file in order to share them with other
compilation units.

This is a non-functional change without any intendet side-effects.

gcc/ChangeLog:

* config/riscv/riscv-protos.h (enum riscv_address_type):
New location of type definition.
(struct riscv_address_info): Likewise.
* config/riscv/riscv.cc (enum riscv_address_type):
Old location of type definition.
(struct riscv_address_info): Likewise.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
gcc/config/riscv/riscv-protos.h
gcc/config/riscv/riscv.cc