diff options
author | Marc Poulhiès <dkm@kataplop.net> | 2023-08-10 22:45:38 +0200 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-08-11 10:46:39 +0000 |
commit | 5712d7d383b0597cd00466e5995c1e620c2fc809 (patch) | |
tree | 835eaa3d289d89f71182b0727d9f3d7301625b43 /gcc/rust/backend | |
parent | e55113ea2bf0cec2f8436a576ce6f2bcaacd1c27 (diff) | |
download | gcc-5712d7d383b0597cd00466e5995c1e620c2fc809.zip gcc-5712d7d383b0597cd00466e5995c1e620c2fc809.tar.gz gcc-5712d7d383b0597cd00466e5995c1e620c2fc809.tar.bz2 |
gccrs: Adjust HIR dump for IfExpr and IfExprConseqElse
Adjust the HIR dump for IfExpr and IfExprConseqElse
to use visit_field() and factor common part.
gcc/rust/ChangeLog:
* hir/rust-hir-dump.h (do_ifexpr): New.
* hir/rust-hir-dump.cc (Dump::do_ifexpr): New.
(Dump::visit): Use do_ifexpr and visit_field
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions